home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / groff_bin_1_07.lha / Groff-1.07 / ChangeLog < prev    next >
Text File  |  1993-03-03  |  166KB  |  4,797 lines

  1. Wed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)
  2.  
  3.     * Version 1.07 released.
  4.  
  5.     * Integrate mm 1.11.
  6.  
  7.     * tbl/table.cc (alphabetic_block_entry::print): start_row was used
  8.     where start_col was meant.
  9.  
  10. Thu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)
  11.  
  12.     * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
  13.  
  14. Wed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)
  15.  
  16.     * troff/input.cc (token::next): Make \z\o'...' and similar things
  17.     work.
  18.  
  19.     * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
  20.     constants.
  21.     (environment): Add margin_character_flags member.
  22.     * env.cc (environment::environment(symbol),
  23.     environment::environment(const environment *): Initialize
  24.     margin_character_flags.
  25.     (margin_character): Rewrite.
  26.     (environment::output_line): Add a margin character if
  27.     margin_character_flags is non-zero.  Turn off the
  28.     MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
  29.     zero, use margin_character_node without copying and then set
  30.     margin_character_node to 0.
  31.  
  32.     * devps/DESC.in: Change minimum size to 1000.
  33.  
  34. Tue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)
  35.  
  36.     * troff/symbol.h (symbol::hash): Change return type to unsigned
  37.     long.
  38.     * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
  39.     Add casts to int.
  40.  
  41.     * test-groff: Use -r rather than -x.
  42.  
  43.     * grops/psfig.diff: Include in distribution again.
  44.  
  45. Mon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)
  46.  
  47.     * Makefile.in (dist): Use gzip.
  48.  
  49. Sun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)
  50.  
  51.     * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
  52.     unistd.h as well as in stdlib.h.
  53.     * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
  54.     defined; otherwise include <sys/types.h> and <unistd.h> if
  55.     UNISTD_H_DECLARES_GETOPT is defined.
  56.  
  57.     * configure.in: use builtin(include, ... rather than include(...
  58.     * configure: Regenerate with autoconf 1.3.
  59.  
  60.     * libdriver/print.cc (printer::adjust_arc_center): Use new
  61.     algorithm suggested by Andy Fyfe.
  62.  
  63.     * libdriver/printer.cc (printer::adjust_arc_center): New function.
  64.     * include/printer.h: Declare this.
  65.     * grops/ps.cc (ps_printer::draw): Use it.
  66.     * grodvi/dvi.cc (dvi_printer::draw): Use it.
  67.  
  68. Fri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)
  69.  
  70.     * Makefile.comm (.man.n): Replace macrodir by tmacdir.
  71.  
  72. Thu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)
  73.  
  74.     * eqn/main.cc (main): Handle "eqn -".
  75.  
  76. Mon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)
  77.  
  78.     * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
  79.  
  80.     * mm: Integrate version 1.08.
  81.  
  82.     * pic/troff.cc (troff_output::finish_picture): Set
  83.     EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
  84.     * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
  85.     if it's not defined. Check whether the register is non-zero rather
  86.     than whether it's not defined.
  87.     * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
  88.  
  89.     * indxbib/indxbib.cc: Move all signal handling into...
  90.     * indxbib/signal.c: New file.
  91.     * configure.in: Call AC_RETSIGTYPE.
  92.  
  93.     * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
  94.     * configure.in: Call GROFF_STRUCT_EXCEPTION.
  95.     * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
  96.  
  97.     * troff/input.cc (token::token, token::operator=): Work round SGI
  98.     C++ bug.
  99.     * pic/object.cc (position::position): Likewise.
  100.  
  101. Mon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)
  102.  
  103.     * pic/pic.h: Move declaration of hypot().
  104.  
  105. Wed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)
  106.  
  107.     * pic/pic.h: Declare hypot().
  108.  
  109.     * pic/pic.h: Define M_PI if necessary.
  110.  
  111. Thu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)
  112.  
  113.     * tmac/tmac.e (re): Add alternative version that doesn't use groff
  114.     `.ta T' feature.
  115.  
  116.     * devps/prologue.ps (RE): Handle the possibility that the old font
  117.     doesn't have a FontName entry.
  118.  
  119. Wed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)
  120.  
  121.     * tmac/tmac.e (fam): Redefine to set family in environment 2.
  122.     (@C): Use @fam not fam.
  123.  
  124. Thu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)
  125.  
  126.     * lookbib/lookbib.cc (main): Change type of start to const char *.
  127.     * lkbib/lkbib.cc (main): Likewise.
  128.  
  129.     * eqn/lex.cc (definition::definition): Don't use member
  130.     initializer syntax for members of anonymous unions.
  131.  
  132.     * troff/input.cc (input_stack::backtrace): Change type of to const
  133.     char *.
  134.  
  135. Wed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)
  136.  
  137.     * include/stringclass.h (class string): Declare inline friend
  138.     functions as inline in class declaration.
  139.     * troff/hvunits.h (class hunits, class vunits): Likewise.
  140.     * include/refid.h (class reference_id): Likewise
  141.     * troff/troff.h (points_to_units(units), scale(units, double)):
  142.     Delete declarations.
  143.     * libdriver/input.cc (get_char): Delete declaration.
  144.     * include/lib.h: Change 2nd argument of getopt from const char **
  145.     to char **.
  146.     * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
  147.     char **' before assigning to a `const char **'.
  148.     * tbl/table.cc: Delete extra declarations of prints().
  149.  
  150. Tue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)
  151.  
  152.     * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
  153.     char **' before assigning to a `const char **'.
  154.  
  155.     * libgroff/errarg.cc (errarg::errarg): Don't use member
  156.     initializer syntax for members of anonymous unions.
  157.  
  158. Sat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)
  159.  
  160.     * mm: Integrate version 1.07.
  161.  
  162. Tue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)
  163.  
  164.     * troff/input.c (translate2): Rename to
  165.     (translate_no_transparent).
  166.     (init_input_requests): Rename tr2 to trnt.
  167.  
  168. Mon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)
  169.  
  170.     * troff/charinfo.h (class charinfo): Add transparent_translate field.
  171.     (charinfo::set_translation, charinfo::set_special_translation):
  172.     Add second argument that specifies value for
  173.     transparent_translate.
  174.     (charinfo::get_translation, charinfo::get_special_translation):
  175.     Add optional second argument that specifies whether translation is
  176.     being used for transparent throughput.
  177.     * troff/input.cc (charinfo::set_translation,
  178.     charinfo::set_special_translation): Handle second argument.
  179.     (charinfo::charinfo): Initialize transparent_translate.
  180.     (translate): Split main part off into
  181.     (do_translate): New function.  Pass argument saying whether
  182.     translation applies to transparent throughput.
  183.     (translate2): New request.
  184.     (init_input_requests): Bind translate2 to `tr2'.
  185.  
  186. Wed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)
  187.  
  188.     * tbl/table.h (class table): Add `nokeep' flag.
  189.     * tbl/main.cc (process_options): Handle `nokeep' option.
  190.     * tbl/table.cc (table::init_output, table::do_row, table::do_top,
  191.     table::do_bottom): Don't output keep/release macro definitions or
  192.     calls when `nokeep' option has been specified.
  193.  
  194. Sat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)
  195.  
  196.     * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
  197.  
  198. Wed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)
  199.  
  200.     * tbl/table.cc (table_entry::divert, block_entry::do_divert,
  201.     block_entry::divert, alphabetic_block_entry::divert): Add extra
  202.     argument giving column separation.
  203.     (table::compute_widths): Pass column separation to
  204.     table_entry::divert().
  205.     (block_entry::do_divert): If an entry spans multiple columns and a
  206.     minimumum width has been specified for each column, then set the
  207.     line length to the sum of the widths (plus possibly the column
  208.     separations).
  209.  
  210.     * troff/input.cc (set_escape_char): Don't set the escape_char
  211.     until after calling has_arg().
  212.  
  213. Tue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)
  214.  
  215.     * tbl/table.cc (table::do_top): Add missing \s0 for double box
  216.     case.
  217.  
  218.     * tbl/table.cc (table::print_double_hline): Avoid extra new line
  219.     in case where r > nrows - 1.
  220.  
  221.     * tbl/table.cc (BODY_HEIGHT): Deleted.
  222.     (LINE_SEP): New definition.
  223.     (table::print_single_hline, table::print_double_hline,
  224.     table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
  225.     table::do_row, table::do_top): Use LINE_SEP space before a line
  226.     instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
  227.  
  228.     * tbl/table.cc (text_entry::print_contents): New function.
  229.     (text_string_name, right_text_string_name): Deleted.
  230.     (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
  231.     (simple_text_entry::do_width, numeric_text_entry::do_width,
  232.     alphabetic_text_entry::do_width): Don't store the contents of the
  233.     entry in a string.
  234.     (left_text_entry::simple_print, right_text_entry::simple_print,
  235.     center_text_entry::simple_print,
  236.     alphabetic_text_entry::simple_print,
  237.     numeric_text_entry::simple_print): Print the entry directly
  238.     instead of using the stored string.
  239.  
  240. Fri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)
  241.  
  242.     * devps/Makefile: Strip PostScript files.
  243.     * devps/prologue: Rename to...
  244.     * devps/prologue.ps.
  245.     * devps/psstrip.sed: New file.
  246.     * devps/download: Use .pfa rather than .ps for installed versions
  247.     of fonts.
  248.  
  249. Thu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)
  250.  
  251.     * troff/env.cc (input_trap): Give a warning if the argument is out
  252.     of range.
  253.  
  254.     * troff/env.cc (adjust): Treat negative argument as missing. Round
  255.     argument > 5 down to 5.
  256.  
  257.     * troff/env.cc (center, right_justify): Make negative argument zero.
  258.  
  259.     * troff/div.cc (page_offset, vertical_position_traps): Treat
  260.     invalid argument as missing.
  261.     * troff/env.cc (line_spacing, line_length, title_length, indent,
  262.     underline, hyphen_line_max_request, control_char,
  263.     no_break_control_char, widow_control_request, adjust, input_trap,
  264.     point_size): Likewise.
  265.     * troff/node.cc (ligature, kern_request, bold_font, track_kern,
  266.     constant_space): Likewise.
  267.     * troff/input.cc (compatible, shift, warn_request,
  268.     set_escape_char): Likewise.
  269.  
  270.     * tbl/main.cc (format::format): Avoid doing `new int[0]'.
  271.     * tbl/table.cc (table::table): Likewise.
  272.  
  273.     * Makefile.dev (install_dev): depends on $(DEVFILES).
  274.  
  275. Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
  276.  
  277.     * devX75, devX75-12, devX100, devX100-12: New directories.
  278.     * Makefile.in: Add these to DEVDIRS.
  279.  
  280.     * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
  281.     afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
  282.     grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
  283.     * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
  284.     targets.
  285.     * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
  286.     (uninstall): New target.
  287.     * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
  288.     uninstall_prog, uninstall_dev): New targets.
  289.  
  290.     * troff/div.cc (return_request): Treat an invalid argument as
  291.     missing.
  292.  
  293. Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
  294.  
  295.     * tmac/tmac.e ((f): Set up the environment even when there's a
  296.     current diversion.  Transperently throughput a call to @N.
  297.     (@N): New macro.
  298.  
  299. Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
  300.  
  301.     * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
  302.     up to vertical resolution.
  303.  
  304.     * tbl/table.cc (table::do_row): Change row number after printing
  305.     stuff list.
  306.  
  307.     * pic/lex.cc (get_token_after_dot): Make .left and .right work.
  308.  
  309. Wed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)
  310.  
  311.     * Rename CHANGES to NEWS.
  312.  
  313. Tue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)
  314.  
  315.     * libgroff/new.cc (operator new): Avoid calling malloc(0).
  316.  
  317. Mon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)
  318.  
  319.     * man.ultrix: Removed.
  320.  
  321. Sun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)
  322.  
  323.     * Makefile.comm (extraclean): Delete files whose names begin with
  324.     `='.
  325.  
  326.     * pic/troff.cc (troff_output::text): Fix typo in implementation of
  327.     aligned text.
  328.  
  329. Sat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)
  330.  
  331.     * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
  332.     * troff/div.cc (page_length, need_space, space_request): Treat
  333.     invalid optional argument as missing.
  334.     * troff/env.cc (number_lines): If the first argument is present
  335.     but not a number, turn on line numbering, don't change the next
  336.     line number and parse the remaining arguments.
  337.  
  338.     * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
  339.  
  340. Thu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)
  341.  
  342.     * eqn/box.h: Change declaration accordingly.
  343.     * eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
  344.     the specified size was bad but don't give an error.  Check for
  345.     overflow.
  346.     * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
  347.     * eqn/lex (do_size): Likewise.
  348.  
  349. Wed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)
  350.  
  351.     * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
  352.     compatible headers.
  353.  
  354. Sun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)
  355.  
  356.     * tbl/table.cc (table::init_output): Improve error message when
  357.     table won't fit on one page.
  358.  
  359. Fri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)
  360.  
  361.     * pic/troff.cc (troff_output::start_picture): Generate line
  362.     containing a horizontal motion equal to the width of the picture.
  363.  
  364.     * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
  365.     using GROFF_COMMAND_PREFIX environment variable.
  366.  
  367. Fri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)
  368.  
  369.     * mdate.sh: Use $NF rather than $(NF).
  370.  
  371. Tue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)
  372.  
  373.     * pic/main.cc (main):  Use %1 not %c in argument to warning.
  374.  
  375.     * eqn/main.cc (main): Output code to check that geqn was given the
  376.     correct -T option.
  377.  
  378. Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
  379.  
  380.     * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
  381.     `ln -s ../Makefile .; make; rm -f Makefile'.
  382.  
  383.     * troff/hyphen: Rename to...
  384.     * troff/hyphen.us:
  385.     * troff/input.cc (main): Delete -H option. Don't call
  386.     read_hyphen_file().
  387.     * troff/env.cc: Include searchpath.h and macropath.h.
  388.     (exception_dictionary): Deleted.
  389.     (ht): Deleted.
  390.     (read_hyphen_file): Deleted.
  391.     (hyphenation_language): New struct.
  392.     (class trie, class hyphen_trie): Move declarations up.
  393.     (trie_node::~trie_node): Deleted.
  394.     (trie::delete_trie_node): New function.
  395.     (trie::do_delete): New pure virtual function.
  396.     (hyphen_trie::do_delete): New function.
  397.     (trie::~trie): New function.
  398.     (hyphen_trie::~hyphen_trie): New function.
  399.     (trie::clear): No need to chcek that tp is not 0.
  400.     (current_language, language_dictionary): New variables.
  401.     (hyphen_word): Give an error if no current language.  Use
  402.     exceptions dictionary in current language.
  403.     (hyphen_trie::read_patterns_file): Find file using macro_path.
  404.     Allow comments (starting with %) in patterns file.  Don't make it
  405.     a fatal error if the file can't be found.
  406.     (hyphenate): Return if no current language.  Get the exceptions
  407.     dictionary and the hyphenation patterns from the current language.
  408.     (set_hyphenation_language): New variable.
  409.     (hyphenation_patterns_file): New function.
  410.     (hyphenation_language_reg): New class.
  411.     (hyphenation_language_reg::get_string): New function.
  412.     (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
  413.     "hpf" to hyphenation_patterns_file.  Initialize `.hla' number
  414.     register.
  415.     * groff/groff.cc (main, help, synopsis): Delete -H option.
  416.     * include/Makefile.sub: Don't define HYPHENFILE.
  417.     * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
  418.     * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
  419.     * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
  420.     hyphenation patterns.
  421.  
  422. Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
  423.  
  424.     * eqn/neqn.sh: New file.
  425.     * eqn/Makefile.sub: Handle neqn.sh.
  426.  
  427.     * eqn/eqn.h: Declare `nroff' variable.
  428.     * eqn/box.cc (param_table): Add `nroff' param.
  429.     (nroff): Define it.
  430.     * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
  431.     variable.
  432.     * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
  433.  
  434.     * troff/troff.h (WARN_FONT): New warning.
  435.     (WARN_TOTAL): Change accordingly.
  436.     * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
  437.     (warning_table): Add WARN_FONT.
  438.     * troff/node.cc (mount_font_no_translate): Pass argument to
  439.     font::load_font.  If this is non-zero, give a warning.
  440.     Don't give an error message when accessing a font that has already
  441.     been found to be invalid.
  442.     * include/font.h (font::load, font::load_font): Add additional
  443.     optional argument which suppresses error message if the font is
  444.     not found.
  445.     * libgroff/font.cc (font::load_font): Handle additional argument.
  446.     (font::load): Add additional argument. If this is non-null, set it
  447.     to 1 and don't give error message.
  448.  
  449.     * include/printer.h (printer::end_page): Add argument giving
  450.     length of page.
  451.     * libdriver/input.cc (do_file): Pass this.
  452.     * grops/ps.cc (ps_printer::end_page): Add argument.
  453.     * grodvi/dvi.cc (dvi_printer::end_page,
  454.     draw_dvi_printer::end_page): Add argument.
  455.     * grotty/tty.cc (class tty_printer): Remove lines_per_page and
  456.     columns_per_page members. New member nlines.
  457.     (DEFAULT_LINES_PER_PAGE): Deleted.
  458.     (tty_printer::tty_printer): Don't compute lines_per_page from
  459.     font::paperlength. Don't compute columns_per_page from
  460.     font::paperwidth.
  461.     (tty_printer::add_char): Don't check horizontal position against
  462.     columns_per_page. Grow glyphs vector if neccessary.
  463.     (tty_printer::end_page): Add argument giving page_length in units.
  464.     Discard lines past end of page.
  465.  
  466. Wed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)
  467.  
  468.     * tmac/tmac.tty-char: Fix definition of \(/l.
  469.  
  470.     * tmac/tmac.X: Define \(en.
  471.  
  472. Tue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)
  473.  
  474.     * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
  475.     lpq, then use lp rather than lpr.
  476.  
  477.     * tmac/tmac.s (par@reset): Don't call `ad'.
  478.     (par*env-init): Call `ad'.
  479.  
  480. Sun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)
  481.  
  482.     * mdate.sh: Use $(NF) instead of $6 to extract year from output of
  483.     date.
  484.  
  485.     * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
  486.     * indxbib/indxbib.cc: Likewise.
  487.  
  488. Sun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)
  489.  
  490.     * libgroff/putenv.c: New file.
  491.     * libgroff/Makefile.sub: Add putenv.c to CSRCS.
  492.     * Makefile.in: Say that putenv.o can be one of LIBOBJS.
  493.     * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
  494.     stdlib.h with AC_HAVE_HEADERS.
  495.  
  496. Sat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)
  497.  
  498.     * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
  499.     does not exist.
  500.  
  501. Fri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)
  502.  
  503.     * eqn/box.cc (gsize): Make it an int.
  504.     (set_gsize): Parse argument handling increment or decrement.
  505.     (box::top_level): Convert gsize to a string.
  506.  
  507.     * troff/input.cc (exit_troff): Make buf unsigned char [].
  508.     Call to make_temp_iterator casts buf to char*.
  509.  
  510.     * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
  511.  
  512.     * Makefile.ccpg (depend.temp): Depends on $(YTABC).
  513.     * Makefile.cpg (depend.temp): Likewise.
  514.  
  515.     * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
  516.  
  517.     * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
  518.  
  519. Thu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)
  520.  
  521.     * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
  522.  
  523. Tue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)
  524.  
  525.     * Version 1.06 released.
  526.  
  527.     * Integrate mm 1.04.
  528.  
  529. Fri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)
  530.  
  531.     * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
  532.  
  533. Thu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)
  534.  
  535.     * afmtodit/afmtodit.pl: Add -n option that disables generation of
  536.     ligatures command.
  537.     * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
  538.     afmtodit. Regenerate.
  539.  
  540.     * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
  541.     @f back past the current position.
  542.  
  543.     * tmac/tmac.e: Change calls to @R so that comments are not part of
  544.     arguments.
  545.  
  546. Tue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)
  547.  
  548.     * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
  549.  
  550.     * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
  551.     check that we can link a call to a function declared in <stdio.h>.
  552.     (GROFF_UNISTD_H): New macro.
  553.     * configure.in: Call it.
  554.     * Makefile.in: Document it.
  555.     * include/posix.h: New file.
  556.     * troff/troff.h: Don't include <osfcn.h>
  557.     * troff/input.cc: Include posix.h.
  558.     * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
  559.     osfcn.h.
  560.     * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
  561.     Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
  562.     <fcntl.h>.
  563.     * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
  564.     * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
  565.     * libbib/search.cc (O_RDONLY): Delete definition.
  566.     * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
  567.     Don't include <osfcn.h>.
  568.  
  569.     * acgroff.m4 (GROFF_TIME_T): New macro.
  570.     * configure.in: Call it.
  571.     * Makefile.in: Document it.
  572.  
  573.     * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
  574.     * configure.in: Call it.
  575.     * Makefile.in: Document -DTRADITIONAL_CPP.
  576.     * include/ptable.h: Don't include generic.h.
  577.     (name2): Define it.
  578.  
  579.     * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
  580.     Afterwards remove [T1 and [T2.
  581.     (ref*spec!0, ref*spec!2): Use T1 rather than T.
  582.     (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
  583.     (ref*add-T2): Renamed from ref*add-T.
  584.     (ref*add-T1): New macro.
  585.  
  586. Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
  587.  
  588.     * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
  589.  
  590.     * libbib/index.cc: Include <fcntl.h>.
  591.     (O_RDONLY): Define if necessary.
  592.     (make_index_search_item, index_search_item_iterator::get_tag,
  593.     index_search_item::check_files): Use O_RDONLY.
  594.     * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
  595.     (O_RDONLY): Define if necessary.
  596.     (search_list::add_file): Use O_RDONLY.
  597.     * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
  598.     <sys/stat.h>.
  599.     (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
  600.     (main): Use these.
  601.  
  602.     * libbib/index.cc (S_ISREG): Define it if necessary.
  603.     (index_search_item::load): Use S_ISREG.
  604.  
  605.     * include/driver.h: Include <errno.h>.
  606.  
  607. Sun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)
  608.  
  609.     * eqn/box.cc (body_height): Increase default value to 85.
  610.     (body_depth): Increase default value to 35.
  611.  
  612. Fri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)
  613.  
  614.     * eqn/pbox.h (SAVE_FONT_STRING): Define it.
  615.     * eqn/box.cc (box::top_level): Hide use of \R in a string that is
  616.     protected from expansion with \E.
  617.  
  618.     * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
  619.  
  620.     * Makefile (Makefile): New target.
  621.  
  622.     * Makefile.sub (configure, distfiles): New targets.
  623.  
  624.     * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
  625.     construct.
  626.  
  627. Thu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)
  628.  
  629.     * eqn/box.cc (param_table): Add body_height and body_depth.
  630.  
  631.     * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
  632.  
  633. Tue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)
  634.  
  635.     * psbb/Makefile.sub: Don't link with libgroff.a.
  636.  
  637.     * acgroff.m4 (GROFF_PUTENV): New macro.
  638.     * configure.in: Call GROFF_PUTENV.
  639.     * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
  640.     * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
  641.     is defined.
  642.  
  643.     * troff/env.cc (distribute_space): Rename force_forward argument
  644.     to force_reverse.  Reverse the list if force_reverse is true.
  645.  
  646. Mon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)
  647.  
  648.     * tmac/tmac.an: Don't define a string `T'. Just define Tm.
  649.  
  650.     * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
  651.     height or depth to be negative.  Guard against SUP_RAISE quantity
  652.     being negative.
  653.  
  654. Sat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)
  655.  
  656.     * devps/generate/textmap: Add `an' (arrowhorizex).
  657.     * tmac/tmac.ps: \(an overlaps horizontally.
  658.     * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
  659.  
  660.     * devps/symbolchars: Add arrowverttp, arrowvertbt.
  661.     * devps/textmap: Add arrowvertex.
  662.     * eqn/delim.cc (delim_table): Add uparrow, downarrow and
  663.     updownarrow delimiters.
  664.     * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
  665.  
  666.     * tbl/table.cc (simple_entry::position_vertically,
  667.     block_entry::position_vertically):  For a centered entry, perform
  668.     the motion in two stages.
  669.  
  670.     * refer/refer.cc (split_punct): Don't call lookup_token if there
  671.     is no token.
  672.  
  673. Fri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)
  674.  
  675.     * troff/input.cc (token::next): Delete token_node after copying
  676.     token.
  677.  
  678.     * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
  679.     cur_point_size.
  680.  
  681.     * libdriver/printer.cc (printer::load_font): Delete old_font_table.
  682.  
  683.     * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
  684.  
  685. Tue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)
  686.  
  687.     * grops/ps.cc (usage): -b option takes an argument.
  688.  
  689.     * devps/prologue (PLG): New procedure.
  690.     * grops/ps.cc (main, usage): New -g option.
  691.     (ps_printer::~ps_printer):  If guess_flag is set, guess the paper
  692.     length using PLG.
  693.  
  694. Mon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)
  695.  
  696.     * include/cset.h: Include <limits.h> if we have it.
  697.  
  698.     * libgroff/illegal.cc: New file.
  699.     * include/lib.h (illegal_input_char): Use table.
  700.     * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
  701.     * pic/lex.cc (ARG1): Renumber to 14.
  702.     * eqn/lex.cc (ARG1: Likewise.
  703.  
  704.     * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
  705.     (eg 1.05.90) correctly.
  706.  
  707. Sun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)
  708.  
  709.     * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
  710.     Rename $r and $R registers to $v and $V.
  711.     ($r, $R): Initialize to 0.
  712.     (@v, @V): New macros.
  713.     (sz): Call @v.
  714.     (@M): Call @V.
  715.  
  716.     * troff/input.cc (main, usage): Add -R option that says not to
  717.     load troffrc.
  718.     * eqn/main.cc (main, usage): Rename -n to -R.
  719.  
  720. Sat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)
  721.  
  722.     * devps/DESC.in: Leave font positions 5-9 blank.
  723.     * devdvi/DESC.in: Likewise.
  724.  
  725.     * grog/grog.pl: Handle `.PS <file' correctly.
  726.  
  727.     * troff/input.cc (input_stack::push): Improve error message when
  728.     input stack limit exceeded.
  729.  
  730. Fri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)
  731.  
  732.     * refer/refer.cc (main): Fix typo in handling of `a' option.
  733.  
  734.     * refer/refer.cc (do_bib): In state START after a newline remain
  735.     in state START.
  736.  
  737.     * groff/groff.sh: Deleted.
  738.     * groff/Makefile.sub: Delete handling of groff.sh.
  739.  
  740.     * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
  741.     to determine whether to use \X'ps:...'.
  742.     * tmac/troffrc: Set 0p register to 0.
  743.     * tmac/tmac.ps: Set 0p register to 1.
  744.  
  745.     * groff/groff.cc: Support -X option. Give warning for -TXps and
  746.     transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
  747.     * tmac/troffrc: Support -r.X=1.
  748.  
  749.     * pic/troff.cc (troff_output::dot): Don't test
  750.     zero_length_line_flag.
  751.  
  752. Thu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)
  753.  
  754.     * include/lib.h: Declare getopt() and friends unless
  755.     STDLIB_H_DECLARES_GETOPT is defined.
  756.  
  757.     * doc/chars.tr: Delete.
  758.     * man/groff_char.man: New file.
  759.  
  760. Wed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)
  761.  
  762.     * tmac/tmac.e (np, bu): Test \n($p with string expression in case
  763.     user has changed register format.
  764.  
  765. Mon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)
  766.  
  767.     * groff/groff.cc: Get rid of device_table.  Get postprocessor from
  768.     `postpro' command in DESC file.  Get spooler command from `print'
  769.     command in DESC file.  Execute spooler command with /bin/sh.
  770.  
  771.     * groff/groff.cc: Split Unix-specific parts into...
  772.     * groff/pipeline.c: New file.
  773.  
  774.     * LICENSE: Delete.
  775.     * COPYING: New file.
  776.     * all files: Update copyright notices.
  777.  
  778.     * Rearrange files.  Redo Makefiles.  Use autoconf.
  779.  
  780. Sat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)
  781.  
  782.     * troff/input.c (charinfo_to_node_list): Interpret character
  783.     definition with escape_char of `\'.
  784.  
  785. Tue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)
  786.  
  787.     * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
  788.     Define INT_DIGITS as big enough for 64-bit integer.
  789.     * lib/strtol.c: Don't include lib.h.
  790.     * lib/lib.h: Delete ifdef __cplusplus stuff.
  791.  
  792. Mon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)
  793.  
  794.     * ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
  795.     for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
  796.     get DESC from current directory.
  797.  
  798. Sun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)
  799.  
  800.     * tbl/main.c (main): Always reset the line number when reading
  801.     from stdin.
  802.  
  803.     * tbl/table.c (table::print_single_hline, table::print_double_hline,
  804.     table::define_bottom_macro, table::do_row, table::do_top): Round
  805.     vertical spacing up to vertical resolution.
  806.  
  807. Fri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)
  808.  
  809.     * ps/ps.h (enum resource_type): Avoid comma at end of
  810.     enumerator-list.
  811.     * dvi/dvi.c (class dvi_printer): Likewise.
  812.     * dvi/tfmtodit.c (gf::load): Likewise.
  813.     * refer/label.y (struct expression): Likewise.
  814.     * refer/refer.c (class label_processing_state): Likewise.
  815.     * refer/indxbib.c (do_file): Likewise.
  816.     * troff/troff.c (enum warning_type): Likewise.
  817.     * tbl/main.c (process_data): Likewise.
  818.     * troff/charinfo.h (class charinfo):
  819.  
  820. Wed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)
  821.  
  822.     * dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.
  823.  
  824. Tue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)
  825.  
  826.     * groff.c: Move to new groff subdirectory.
  827.     * groff/Makefile: New file.
  828.     * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
  829.  
  830.     * man/mdate.sh: Use ls -L if supported.
  831.  
  832.     * Consolidate all header files produced by gendef into lib/defs.h.
  833.     * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
  834.     Don't include path.h.
  835.     * lib/Makefile (path.h): Don't generate.
  836.     * troff/input.c: Include defs.h. Don't include config.h.
  837.     * troff/Makefile (config.h): Don't generate.
  838.     * refer/index.h: Don't include suffix.h.
  839.     * refer/index.c: Include defs.h.
  840.     * refer/indxbib.c: Include defs.h.
  841.     * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
  842.     defs.h.
  843.     * refer/Makefile (suffix.h, path.h): Don't generate.
  844.     * groff.c: Don't include config.h. Include defs.h.
  845.     * Makefile (config.h): Don't generate.
  846.     (lib/defs.h): Generate.
  847.     (topclean): Remove lib/defs.h.
  848.  
  849. Mon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)
  850.  
  851.     * lib/malloc.c, lib/getpagesize.h: Deleted.
  852.     * Makefile: Add COOKIE_BUG configuration option.  Delete malloc
  853.     related stuff.
  854.     * lib/Makefile: Delete malloc-related stuff.
  855.     * lib/new.c: Workaround COOKIE_BUG if necessary.
  856.  
  857.     * refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
  858.     needed header files directly.
  859.     * refer/refer.h: Omit definition of DEFAULT_INDEX.
  860.     * Makefile: Include definition of DEFAULT_INDEX in path.h.
  861.  
  862. Sun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)
  863.  
  864.     * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
  865.     argument.
  866.     * lib/font (font::load_desc, font::load): Don't split argument of
  867.     unknown command.
  868.     (font::handle_unknown_font_command): Change type.
  869.     * ps/ps.c (ps_font::handle_unknown_font_command,
  870.     handle_unknown_desc_command): Change type.
  871.     * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
  872.  
  873. Fri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)
  874.  
  875.     * lib/font.h (font::handle_unknown_font_command): Add file and
  876.     line arguments.
  877.     * lib/font.c (font::handle_unknown_font_command):
  878.     * ps/ps.c (ps_font::handle_unknown_font_command):
  879.     * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
  880.     lineno arguments.  Use _with_file_and_line functions for error
  881.     reporting.
  882.  
  883.     * lib/fontfile.c (font::unknown_desc_command_handler): New static
  884.     data member.
  885.     * lib/font.c (font::set_unknown_desc_command_handler): New
  886.     function.
  887.     (font::load_desc): For unknown commands, call
  888.     unknown_desc_command_handler if not null.
  889.     * lib/font.h (class font): Declare them.
  890.     (FONT_COMMAND_HANDLER): New typedef.
  891.     * ps/ps.c (handle_unknown_desc_command): New function.
  892.     (main): Set bflag if we had a -b option. Call
  893.     font::set_unknown_desc_command_handler.
  894.     (broken.h): Don't include.
  895.     * ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
  896.     submake 
  897.     * ps/devps/Makefile: Add `broken' command to DESC file using
  898.     BROKEN_SPOOLER_FLAGS.
  899.  
  900.     * macros/tmac.e ([, ]): Add as synonyms for { and }.
  901.  
  902.     * macros/tmac.e ($p): Only exdent if \$3 > 0.
  903.  
  904.     * macros/tmac.e (@R, @S): New macros.
  905.     Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
  906.     ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
  907.     Declare $H, $[0-9], .. macros with @S.
  908.     Declare |0, |1, |2, |3 strings with @S.
  909.  
  910.     * macros/tmac.e (@S): Rename to @U.
  911.  
  912.     * macros/tmac.e (@z): Define @b and bp as empty instead of
  913.     deleting them,
  914.  
  915.     * macros/tmac.e (@m): Deleted.
  916.     (@h): Don't call @m.
  917.     (@z): Don't set @m trap.
  918.  
  919.     * macros/tmac.e ($h, $f): Define |z as empty string.
  920.  
  921.     * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
  922.     (@q): Likewise.
  923.  
  924.     * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
  925.     removing them.
  926.     ()f): Likewise for * register.
  927.  
  928.     * macros/tmac.e (sr): Don't ever scale the arguments. If the third
  929.     argument is missing, don't change $R.  Call sr with three
  930.     arguments when initializing.
  931.  
  932. Thu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)
  933.  
  934.     * macros/tmac.e (sr): New macro.
  935.     Initialize $r and $R using sr.
  936.  
  937.     * macros/tmac.e (,): Delete \*(#[.
  938.  
  939.     * troff/env.c (set_tabs): Read the tab type even if the position
  940.     is bad.  Allow the position of the first tab stop to be negative.
  941.  
  942. Wed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)
  943.  
  944.     * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
  945.     _POSIX_VERSION.
  946.     * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
  947.     rather than -DPATHCONF_MISSING.
  948.     * Makefile: Get rid of PATHCONF_MISSING.
  949.  
  950.     * refer/map.c: New file.
  951.     * refer/index.c: Interface to mmap through map.c.  Rename map_size
  952.     to map_len.
  953.     * refer/Makefile: Handle map.c.
  954.     * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
  955.  
  956. Tue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)
  957.  
  958.     * Makefile: RANLIB should be `true' if there is no ranlib.
  959.     * lib/Makefile (libgroff.a): Simplify.
  960.     * driver/Makefile (libdriver.a): Simplify.
  961.  
  962.     * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
  963.     * groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
  964.     defined.
  965.  
  966. Sat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)
  967.  
  968.     * troff/env.c (compare_ranges): Declare as extern "C".
  969.  
  970.     * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
  971.  
  972.     * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
  973.  
  974. Wed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)
  975.  
  976.     * pic/troff.c (troff_output::text): Merge in grops_output::text,
  977.     but conditionalize use of \X based on \*(.T.
  978.     (grops_output::*): Deleted.
  979.     * pic/output.h: Delete declaration of make_grops_output.
  980.     * pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
  981.     by default. -n sets it to 0.
  982.     (usage): Corresponding changes.
  983.     * groff.c (main): Don't pass -x or -p to pic.
  984.     * groff.sh: Likewise.
  985.  
  986.     * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
  987.     to be non-zero.
  988.  
  989.     * ps/devps/afmtodit: Change calculation of asc_boundary and
  990.     desc_boundary.  Make these bounds inclusive.
  991.     * ps/devps: Regenerate font files.
  992.  
  993. Tue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)
  994.  
  995.     * macros/tmac.latin1: New file.
  996.     * macros/tmac.tty-char: Use tmac.latin1.
  997.     (tmac.tty-tr): Deleted.
  998.     * macros/Makefile: Install tmac.latin1.
  999.     * macros/tmac.dvi: Use tmac.latin1.
  1000.     * macros/troffrc: Translate \[char160] onto no-break space here.
  1001.     * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
  1002.  
  1003. Mon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)
  1004.  
  1005.     * macros/tmac.Xps: Use `do' request.
  1006.  
  1007.     * macros/tmac.ps: Use `do' request.
  1008.  
  1009.     * macros/tmac.e (@C): Use `do' request.
  1010.  
  1011.     * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
  1012.     * macros/Makefile: Install tmac.X*.
  1013.  
  1014.     * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
  1015.     * tty/Makefile: Don't install tmac.tty*.
  1016.     * macros/Makefile: Install tmac.tty*.
  1017.  
  1018.     * dvi/tmac.dvi: Move to macros.
  1019.     * dvi/Makefile: Don't install tmac.dvi.
  1020.     * macros/Makefile: Install tmac.dvi.
  1021.  
  1022.     * ps/tmac.ps*: Move to macros.
  1023.     * ps/Makefile: Don't install tmac.ps*.
  1024.     * macros/Makefile: Install tmac.ps*.
  1025.  
  1026.     * eqn/box.c: Provide draw_lines parameter corresponding to -D
  1027.     option.
  1028.     * macros/eqnrc: Set draw_lines parameter based on device.
  1029.     * groff.c: Don't pass -D flag to eqn.
  1030.     * groff.sh: Likewise.
  1031.     * eqn/main.c: Warn about use of -D.
  1032.  
  1033.     * troff/input.c (process_startup_file): New function.
  1034.     (main): Call process_startup_file().
  1035.     * macros/troffrc: New file.
  1036.     * macros/Makefile: Install troffrc.
  1037.     * groff.c (main): Don't pass extra -m option to troff. For a 
  1038.     pseudo device pass the name of the pseudo device to troff using
  1039.     -d.
  1040.     * groff.sh: Likewise.
  1041.     * groff.c (possible_command::prepend_arg): Deleted.
  1042.  
  1043.     * troff/input.c (do_request): New function.
  1044.     (init_input_requests): Bind "do" to do_request.
  1045.  
  1046.     * eqn/main.c (main): Instead of loading eqnchar from device directory,
  1047.     load eqnrc from macro directory.
  1048.     * macros/eqnrc: New file.
  1049.     * macros/Makefile: Install eqnrc.
  1050.     * ps/devps/eqnchar: Deleted.
  1051.     * ps/devps/Makefile: Don't install eqnchar.
  1052.     * dvi/devdvi/eqnchar: Deleted.
  1053.     * dvi/devdvi/Makefile: Don't install eqnchar.
  1054.     * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
  1055.     variable optM.
  1056.  
  1057.     * lib/device.[ch]: New files.
  1058.     * lib/font.h (font::set_device_name, font::get_device_name):
  1059.     Deleted.
  1060.     * lib/fontfile.c: Use device.h.
  1061.     * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
  1062.     * troff/input.c: Delete definition of `device'.
  1063.     (main): Don't initialize device.
  1064.     * troff/troff.h: Include device.h rather than declaring device.
  1065.     * troff/Makefile: No need to handle DEVICE.
  1066.     * driver/input.c: Include device.h. Don't use
  1067.     font::{set,get}_device_name.
  1068.     * groff.c, Makefile: Rename device.h to config.h.
  1069.     * groff.c: Use library device variable.
  1070.     * eqn/main.c: Use library device variable.
  1071.     * eqn/Makefile: No need to handle DEVICE.
  1072.  
  1073.     * lib/searchpath.[ch]: New files.
  1074.     * lib/Makefile: Handle searchpath.[ch].
  1075.     * troff/input.c (open_file, init_dirs): Deleted.
  1076.     (macro_dirs): Deleted.
  1077.     (open_mac_file, macro_source): Use class search_path.
  1078.     (add_string, struct string_list): Move definition.
  1079.     (main): Change -M option to use macro_path. Delete call to
  1080.     init_dirs().
  1081.     * lib/fontfile.c (font::command_line_font_dir, font::open_file):
  1082.     Rewrite to use class search_path.
  1083.     * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
  1084.     * lib/Makefile: fontfile.c depends on searchpath.h.
  1085.     * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
  1086.     MACROPATH.
  1087.     * lib/macropath.[ch]: New files.
  1088.     * troff/Makefile: No need to handle MACROPATH.
  1089.  
  1090.     * troff/input.c: Delete DUMP code.
  1091.     * lib/fontfile.c, lib/font.h: Delete
  1092.     font::forget_command_line_font_dirs.
  1093.  
  1094.     * troff/input.c (push_token): New function.
  1095.     (handle_first_page_transition): Use push_token().
  1096.     (process_input_stack): Change handling of a space at the beginning
  1097.     of the line.
  1098.  
  1099. Sun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)
  1100.  
  1101.     * troff/input.c (font_dirs): Delete unused variable.
  1102.  
  1103.     * eqn/lex.c (do_set): Correct error messages.
  1104.  
  1105. Sat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)
  1106.  
  1107.     * troff/input.c (do_define_string): Allow the string name to be
  1108.     followed immediately by a tab.
  1109.     (define_character): Likewise.
  1110.  
  1111. Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
  1112.  
  1113.     * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
  1114.     be negative.
  1115.  
  1116.     * troff/input.c (input_iterator::is_file): New virtual function.
  1117.     (file_iterator::is_file): New function.
  1118.     (input_stack::end_file): New function.
  1119.     (input_stack::next_file): Handle the situation where there is no
  1120.     file on the input stack correctly.  Avoid making two passes over
  1121.     the input stack.
  1122.     (next_file): Make the filename optional; in this case call
  1123.     input_stack::end_file().
  1124.  
  1125. Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
  1126.  
  1127.     * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
  1128.     produce a real _ charater when the current font is CW and _
  1129.     otherwise.
  1130.  
  1131.     * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
  1132.     expression to work around gcc 2.2 bug.
  1133.  
  1134. Wed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)
  1135.  
  1136.     * eqn/main.c (main): Don't give an error if we can't find eqnchar.
  1137.  
  1138.     * troff/env.c (environment::add_padding): New function.
  1139.     (environment::add_char): Use add_padding().
  1140.     (environment::space): Likewise.
  1141.     (environment::wrap_up_field): Add some padding if there is none
  1142.     and there's no current tab.
  1143.     * troff/env.h: Declare environment::add_padding.
  1144.  
  1145. Mon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)
  1146.  
  1147.     * pic/pic.y: undef fmod and rand before declaring them.
  1148.  
  1149. Sun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)
  1150.  
  1151.     * troff/input.c (main): If the DESC file specifies a font name of
  1152.     0, then leave the corresponding font position empty.
  1153.  
  1154.     * nroff.sh: New file.
  1155.     * Makefile (install.nobin): Install nroff.sh.
  1156.  
  1157.     * tty/devlatin1/R.proto: Add ao as synonym for de.
  1158.     * tty/tmac.tty-char: Define ao as o.
  1159.  
  1160.     * tty/dev{ascii,latin1}/R.proto: Add aq.
  1161.     * tty/tmac.tty-char: Delete definition of aq.
  1162.  
  1163. Mon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)
  1164.  
  1165.     * troff/input.c (init_charset_table): Don't translate 0240.
  1166.     * ps/tmac.ps: Translate char160 to space.
  1167.     * dvi/tmac.dvi: Likewise.
  1168.     * tty/tmac.tty: Likewise.
  1169.  
  1170. Sun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)
  1171.  
  1172.     * dvi/tmac.dvi: Add support for all Latin-1 characters.
  1173.  
  1174.     * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
  1175.     \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
  1176.     \(oe, \(r?, \(r!.
  1177.  
  1178.     * tty/tmac.tty-char: Add \(ah.
  1179.  
  1180.     * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
  1181.     No need to define \(FM and \(!/. Conditionalize all character
  1182.     definitions.
  1183.  
  1184.     * ps/devps/lgreekmap: Add +h, +f, +p.
  1185.  
  1186.     * ps/tmac.psnew: New file.
  1187.     * ps/Makefile: Install tmac.psnew.
  1188.  
  1189.     * troff/input.c (charinfo_to_node_list): Don't ever interpret
  1190.     character definitions in compatible mode.
  1191.  
  1192.     * troff/input.c (remove_character): New function.
  1193.     (init_input_requests): Bind remove_character to "rchar".
  1194.  
  1195.     * ps/tmac.psold: New file.
  1196.     * ps/Makefile: Install tmac.psold.
  1197.     * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
  1198.     characters into tmac.psold.  Make these definitions unconditional.
  1199.  
  1200.     * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
  1201.  
  1202.     * ps/tmac.ps: Don't define \('c and \('C.
  1203.  
  1204.     * ps/devps/textmap: Move Greek characters to...
  1205.     * ps/devps/symbolchars:
  1206.  
  1207. Sat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)
  1208.  
  1209.     * ps/devps/text.enc: Add quotesingle.
  1210.     * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
  1211.     * tty/tmac.tty-char: Likewise.
  1212.     * dvi/devdvi/texmi.map: Add +h, +f, +p.
  1213.     * dvi/devdvi/texi.map: Add Fn.
  1214.     * dvi/devdvi/msam.map: Add lz.
  1215.     * dvi/tmac.dvi: Handle Bq, bq, aq.
  1216.  
  1217.     * pic/lex.c (get_token): Recognize 'th.
  1218.     * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
  1219.  
  1220. Fri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)
  1221.  
  1222.     * ps/devps/textmap: Move di, mu, +- to...
  1223.     * ps/devps/symbolchars:
  1224.  
  1225.     * macros/tmac.s (@XS): Don't call par@reset or fi.
  1226.     (XA): Call LP. Turn off adjustment. Reduce line length.
  1227.  
  1228.     * macros/tmac.s: Initially alias XS to LP.
  1229.     (XS): Rename to @XS.
  1230.     (cov*ab-init): Alias XS to @XS.
  1231.  
  1232. Thu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)
  1233.  
  1234.     * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
  1235.     TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
  1236.     (token::is_size, token::changes_env): Deleted.
  1237.     * troff/number.c (parse_term): No need to process \s explicitly.
  1238.     Call tok.next() only after scale indicator has been processed.
  1239.     * troff/input.c (do_overstrike, do_bracket): No need to process \s,
  1240.     \f etc explicitly.
  1241.     (token::next): Handle \s, \f, \S, \H immediately rather than
  1242.     returning them as tokens.
  1243.     (token::operator==, token::description, token::add_to_node_list,
  1244.     token::process): Remove handling of deleted tokens.
  1245.  
  1246.     * troff/env.c (environment::add_char): When adding padding
  1247.     indicator character, call start_line() if necessary.
  1248.  
  1249. Wed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)
  1250.  
  1251.     * ps/devps/afmtodit: Don't output 0 kerns.
  1252.  
  1253.     * ps/devps/afmtodit: Remove directory from name of encoding in
  1254.     font description file.
  1255.  
  1256.     * ps/devps/afmtodit: Improve error messages.
  1257.  
  1258.     * ps/devps/afmtodit: Allow DESC file to be specified with -d.
  1259.  
  1260.     * ps/devps/Makefile: Incorporate FontMakefile. Rework.
  1261.     * ps/devps/FontMakefile: Deleted.
  1262.     * ps/devps/afmname: New file.
  1263.  
  1264.     * ps/devps/symbol.sed: New file.
  1265.     * ps/devps/symbol.diff: Deleted.
  1266.     * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
  1267.     Generate zapfdr.afm from zapfd.afm.
  1268.  
  1269.     * tty/tmac.tty (tty-char): Prefix definition with ".
  1270.  
  1271.     * macros/tmac.an (TP): Don't start a diversion if one has already
  1272.     been started.
  1273.  
  1274.     * tty/tmac.tty-char: Add Latin-1 characters.
  1275.  
  1276.     * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
  1277.  
  1278. Tue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)
  1279.  
  1280.     * tbl/table.c (table::allocate): Delete old_vline, old_entry.
  1281.     Move declaration of struct horizontal_span.
  1282.  
  1283.     * tbl/table.c (table::table): Initialize span_list.
  1284.     (table::~table): Delete span_list.
  1285.  
  1286.     * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
  1287.  
  1288.     * ps/devps/Makefile: Avoid dependency on GNU make.
  1289.  
  1290.     * ps/tmac.ps: Check that character does not already exist before
  1291.     defining it.
  1292.  
  1293.     * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
  1294.     \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
  1295.     \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
  1296.     files.
  1297.  
  1298.     * tty/tmac.tty-char: New file.
  1299.     * tty/Makefile: Install tmac.tty-char.
  1300.     * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
  1301.     tmac.tty-char.
  1302.  
  1303.     * tty/tmac.tty: Fix definition of \(34.
  1304.  
  1305.     * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
  1306.     bracket-drawing characters onto |. Add *o.
  1307.  
  1308.     * troff/env.c (environment::wrap_up_tab): Increment field_spaces
  1309.     only if current_field.
  1310.  
  1311.     * troff/dictionary.c (dictionary::lookup): Free old_table after
  1312.     rehashing. 
  1313.  
  1314. Mon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)
  1315.  
  1316.     * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
  1317.     whose glyphs are identical to glyphs of some Roman character.
  1318.  
  1319.     * tty/devlatin1/R.proto (bu): Deleted.
  1320.     * tty/devascii/R.proto (bu): Deleted.
  1321.     * tty/tmac.tty: Add definition of \(bu.
  1322.  
  1323.     * eqn/main.c (do_file): Pass FILE as argument.
  1324.     (main): Automatically load eqnchar.  New options -F and -n.
  1325.     Pass do_file an opened FILE.
  1326.     * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
  1327.     No need to include font.h.
  1328.     * groff.sh: Likewise.  Don't need to use - for standard input.
  1329.     Prefix files with -- if first file starts with -.
  1330.  
  1331.     * macros/tmac.e: Conditionalize use of \$* on \n(.g.
  1332.  
  1333.     * troff/env.c (environment::possibly_break_line): Don't set line
  1334.     to 0 across call to output_line().  Don't call output_line() until
  1335.     after discarding nodes after break.
  1336.  
  1337. Sun May 31 10:45:29 1992  James Clark  (jjc@jclark)
  1338.  
  1339.     * request.h (macro::empty): Declare it.
  1340.     * input.c (macro::empty): New method.
  1341.     (interpolate_macro):  Don't give a WARN_SPACE if the two-character
  1342.     macro is empty.
  1343.  
  1344. Sat May 30 10:27:15 1992  James Clark  (jjc@jclark)
  1345.  
  1346.     * troff/env.c (environment::start_field): Decrement space_total
  1347.     when a space is frozen.
  1348.  
  1349. Fri May 22 14:34:38 1992  James Clark  (jjc@jclark)
  1350.  
  1351.     * macros/tmac.an (R): Delete macro.
  1352.  
  1353.     * troff/input.c (get_copy, token::next): Support \# (like \" but
  1354.     newline is ignored).
  1355.  
  1356.     * troff/input.c (token::next): Fix error message in 'Y' case.
  1357.  
  1358. Thu May 21 09:26:24 1992  James Clark  (jjc@jclark)
  1359.  
  1360.     * eqn/delim.c (define_extensible_string): Recognize any prefix of
  1361.     a delimiter name.
  1362.  
  1363. Fri May 15 10:20:41 1992  James Clark  (jjc at jclark)
  1364.  
  1365.     * c++test.c: Include <osfcn.h>.
  1366.  
  1367.     * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
  1368.     <errno.h> doesn't.
  1369.  
  1370. Fri May  8 09:37:19 1992  James Clark  (jjc at jclark)
  1371.  
  1372.     * tbl/table.c (table::divide_span): Don't count column separation
  1373.     if expand was specified.
  1374.  
  1375.     * tbl/main.c (process_format): Don't ignore width specs in
  1376.     continued format.  Give warning for changing equal widths or
  1377.     column separation in continued format.
  1378.     (process_data): Set column separation, minimum width, equal
  1379.     columns at end of table.
  1380.  
  1381. Thu May  7 08:50:40 1992  James Clark  (jjc at jclark)
  1382.  
  1383.     * troff/node.c (kern_pair_node::add_discretionary_hyphen,
  1384.     node::add_discretionary_hyphen): Use soft_hyphen_char.
  1385.     (set_soft_hyphen_char): New function.
  1386.     (init_node_requests): Bind to shc.  Initialize soft_hyphen_char.
  1387.  
  1388.     * Makefile (c++tested): Give more helpful message if test fails.
  1389.  
  1390. Tue May  5 10:58:39 1992  James Clark  (jjc at jclark)
  1391.  
  1392.     * troff/input.c (init_charset_table): Translate 0240 to
  1393.     an unbreakable space.
  1394.  
  1395.     * troff/token.h (token::hyphen_indicator): New function.
  1396.     * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
  1397.     translation.
  1398.     * troff/input.c (translate): Allow translation to \%.
  1399.     * troff/node.c (node::add_char): Handle
  1400.     TRANSLATE_HYPHEN_INDICATOR.    
  1401.     (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
  1402.  
  1403.     * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
  1404.     for \(hy.
  1405.  
  1406.     * tty/devlatin1/R.proto: \(hy and - should print as 055.
  1407.  
  1408. Tue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)
  1409.  
  1410.     * groff.c (run_commands): If the last command gets a SIGPIPE send
  1411.     a SIGPIPE to all children than haven't yet terminated.  When
  1412.     command terminates, set pid field to -1.
  1413.  
  1414. Fri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)
  1415.  
  1416.     * groff.c (main): Pass an appropriate -filename option to gxditview.
  1417.  
  1418. Thu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)
  1419.  
  1420.     * Makefile.bd (install): Remove existing program before copying.
  1421.  
  1422.     * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
  1423.     programs which have Unix counterparts to be installed with
  1424.     user-specified prefix.
  1425.  
  1426.     * troff/input.c (exit_troff): Don't check if exit_started.
  1427.     (exit_request): Don't call exit_troff if exit_started.
  1428.  
  1429.     * Makefile.bd (install.mm): Rename to install.dwbmm.
  1430.  
  1431. Tue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)
  1432.  
  1433.     * driver/input.c (do_file): Add missing break for '#' case.
  1434.  
  1435. Mon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)
  1436.  
  1437.     * troff/input.c (input_stack::clear):  Clear past any boundaries and
  1438.     then add the boundaries back.
  1439.  
  1440.     * troff/input.c (exit_troff): Return immediately if already
  1441.     exiting.
  1442.  
  1443.     * macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
  1444.     end macro.
  1445.     (pg*end-page): If the text has ended and there are no more
  1446.     footnotes or keeps, exit.
  1447.  
  1448.     * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
  1449.  
  1450.     * troff/input.c (init_charset_table): Make \(rq transparent by
  1451.     default.
  1452.  
  1453.     * macros/tmac.an: Define lq and rq strings.
  1454.  
  1455.     * macros/tmac.s (Q, U): Define as \(lq and \(rq.
  1456.  
  1457. Sun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)
  1458.  
  1459.     * troff/env.c (environment::final_break): New function.
  1460.     (environment::newline): Set prev_line_interrupted to 2 if
  1461.     exit_started.
  1462.     * troff/env.h: Declare environment::final_break.
  1463.     * troff/input.c (exit_troff): Call environment::final_break()
  1464.     instead of environment::do_break().
  1465.  
  1466.     * macros/Makefile: Install man.local if $(MACRODIR)/man.local
  1467.     doesn't already exist.
  1468.     * macros/man.local: New file.
  1469.     * macros/tmac.an: Load man.local.
  1470.     * macros/man.ultrix: New file.
  1471.  
  1472. Sat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)
  1473.  
  1474.     * troff/input.c (exit_groff): Rename to...
  1475.     (exit_troff): New function.
  1476.  
  1477.     * troff/div.c (exit_started, done_end_macro,
  1478.     seen_last_page_ejector): New global variables.
  1479.     (began_page_in_end_macro): New static variable.
  1480.     (exit_flag): Deleted.
  1481.     (top_level_diversion::top_level_diversion): Initialize
  1482.     last_page_count.
  1483.     (top_level_diversion): More elaborate test for whether
  1484.     cleanup_and_exit() should be called.
  1485.     Set began_page_in_end_macro if the end macro isn't yet finished.
  1486.     * troff/div.h (top_level_diversion::last_page_count): New data
  1487.     member.
  1488.     (top_level_diversion::set_last_page): New function.
  1489.     (exit_started, done_end_macro, seen_last_page_ejector): Declare.
  1490.     * troff/env.c (do_break): Zero prev_line_interrupted.
  1491.     * troff/input.c (exit_flag): Delete declaration.
  1492.     (LAST_PAGE_EJECTOR): New magic cookie.
  1493.     (token::next): Handle LAST_PAGE_EJECTOR.
  1494.     (exit_groff): Set exit_started and done_end_macro instead of
  1495.     exit_flag.  Call top_level_diversion::set_last_page.  Push a
  1496.     LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
  1497.     another ejection after setting seen_last_page_ejector.
  1498.  
  1499. Thu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)
  1500.  
  1501.     * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
  1502.  
  1503.     * macros/tmac.e (TH): Make sure there's room for the initial
  1504.     header.
  1505.  
  1506.     * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
  1507.     Set FVS in points rather than units.
  1508.  
  1509. Mon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)
  1510.  
  1511.     * troff/div.c (top_level_diversion::add_trap): Don't consider the
  1512.     position of empty slots.
  1513.  
  1514. Fri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)
  1515.  
  1516.     * ps/devps/S: Fix height and depth of parenrightex.
  1517.     * ps/devps/symbol.diff: Regenerate.
  1518.  
  1519. Sat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)
  1520.  
  1521.     * tmac.e (u): Do underlining as in -mgs.
  1522.  
  1523. Fri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)
  1524.  
  1525.     * tty/tty.c (tty_printer::end_page): If overstriking is
  1526.     suppressed, still turn overstruck horizontal and vertical lines
  1527.     into +.
  1528.  
  1529.     * lib/new.c: Back out Feb 24 change; no longer needed with gcc
  1530.     2.1.
  1531.  
  1532.     * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
  1533.  
  1534. Wed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)
  1535.  
  1536.     * Version 1.05 released.
  1537.  
  1538. Tue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)
  1539.  
  1540.     * tty/tty.c: Instead of keeping an array of glyphs and then
  1541.     sorting it, keep a ordered linked list of glyphs for each line.
  1542.  
  1543.     * driver/driver.h: Include stddef.h.
  1544.  
  1545.     * tty/tty.c (compare_glyph):
  1546.     * refer/refer.c (rcompare):
  1547.     * troff/env.c (compare_ranges): Arguments of qsort comparison
  1548.     function should be const void *.
  1549.  
  1550.     * troff/number.c (parse_term):
  1551.     * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
  1552.     switch statement.
  1553.  
  1554.     * refer/label.y (consider_authors): Don't access variables
  1555.     constructed under a condition outside that condition: put braces
  1556.     round for statement containing declaration; redeclare use of same
  1557.     variable later.
  1558.  
  1559.     * pic/pic.y (text_expr): Delete production that allows
  1560.     parenthesised text_expr.
  1561.     (expr): Allow a conditional_expr to appear in parentheses.
  1562.     (conditional_expr): Rename to any_expr.
  1563.  
  1564.     * mm: Install new version 1.01 from jh.
  1565.  
  1566.     * lib/font.c (font::get_width): Cache scaled widths.
  1567.     (font::font): Initialize widths_cache.
  1568.     (font::~font): Destroy widths_cache.
  1569.     * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
  1570.  
  1571. Mon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)
  1572.  
  1573.     * c++test.c, c++test.ref: New files.
  1574.     * Makefile: Check that the C++ compiler works.
  1575.  
  1576.     * ps/tmac.pspic (PSPIC): Do a break.
  1577.  
  1578.     * ps/tmac.ps: Move definition of PSPIC into...
  1579.     * ps/tmac.pspic: New file.
  1580.     (PSPIC): Draw box around picture, but make it invisible to grops.
  1581.     * ps/tmac.ps: Load tmac.pspic.
  1582.     * ps/Makefile: Install tmac.pspic.
  1583.  
  1584. Sun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)
  1585.  
  1586.     * lib/font.c (scale_round): If n is negative,
  1587.     subtract .5 before truncating floating point result.
  1588.  
  1589.     * lib/fontfile.c: Include <errno.h>.
  1590.  
  1591. Tue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)
  1592.  
  1593.     * driver/input.c (get_char): Inline. Don't update current_lineno.
  1594.     Change callers to up date current_lineno if necessary.
  1595.     Use get_char() instead of getc(current_file).
  1596.  
  1597. Sun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)
  1598.  
  1599.     * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
  1600.  
  1601. Fri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)
  1602.  
  1603.     * tty/tty.c (tmac.tty): Define \(rg as (R).
  1604.  
  1605. Tue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)
  1606.  
  1607.     * lib/lib.h: New define a_delete.
  1608.     * Use a_delete instead of delete when deleting an array of objects
  1609.     without destructors.
  1610.  
  1611.     * lib/lib.h: Rename adelete to ad_delete.
  1612.     * Change uses of adelete.
  1613.  
  1614. Mon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)
  1615.  
  1616.     * eqn/eqn.y: Include lib.h.
  1617.  
  1618.     * troff/node.c (grow_font_table): Delete old_font_table.
  1619.  
  1620.     * mm: Install new version from jh.
  1621.  
  1622. Fri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)
  1623.  
  1624.     * tbl/table.h (format_type): Make global instead of local to class
  1625.     entry_format.  Prefix enumerators with FORMAT_.
  1626.     * tbl/table.c, tbl/main.c: Corresponding changes.
  1627.     * refer/token.h (token_type): Make global.  Prefix enumerators
  1628.     with TOKEN_.
  1629.     * refer/token.[ch]: Corresponding changes.
  1630.     * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
  1631.  
  1632.     * troff/div.c (node::set_vertical_size): Don't name argument.
  1633.  
  1634. Thu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)
  1635.  
  1636.     * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
  1637.     * lib/lib.h: Define adelete accordingly.
  1638.     * pic/object.c (graphic_object::graphic_object):
  1639.     * tbl/main.c (format::~format):
  1640.     * tbl/table.c (table::~table):
  1641.     * refer/ref.c (reference::~reference, reference::merge,
  1642.     reference::insert_field, reference::delete_field): Use adelete.
  1643.  
  1644.     * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
  1645.     * refer/token.h:
  1646.     * tbl/table.h: Corresponding changes.
  1647.  
  1648.     * common.c (common_output::dashed_arc, common_output::dotted_arc):
  1649.     Ensure total_angle is positive.
  1650.  
  1651. Wed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)
  1652.  
  1653.     * refer/ref.c (reference::merge, reference::insert_field,
  1654.     reference::delete_field): Avoid delete[0].
  1655.  
  1656.     * refer/token.c (init_special_chars): Move calls to cmupper
  1657.     outside calls to init_two_char_letter to work around bug in gcc
  1658.     2.0.
  1659.  
  1660. Mon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)
  1661.  
  1662.     * lib/new.c (operator new): Use __builtin_new for g++.
  1663.  
  1664.     * pic/object.c (graphic_object::~graphic_object):  Don't use
  1665.     delete [] on 0.
  1666.  
  1667.     * pic/object.c (output::compute_scale): Initialize max_width and
  1668.     max_height.
  1669.  
  1670. Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
  1671.  
  1672.     * troff/input.c (write_request): Call fflush.
  1673.  
  1674.     * troff/node.h (class composite_node): Move declaration to node.c
  1675.     * troff/input.c (charinfo_to_node): Rename to ...
  1676.     (charinfo_to_node_list): Return node list rather than composite
  1677.     node.
  1678.     * troff/node.c (make_composite_node): New function.
  1679.     (make_node, add_char): Call make_composite_node instead of
  1680.     charinfo_to_node.
  1681.     (class composite_node): Add a tfont * member.  Delete font_size
  1682.     member.
  1683.     (composite_node::composite_node, composite_node::copy,
  1684.     composite_node::size): Corresponding changes.
  1685.     (composite_node::tprint): Provide constant spacing, emboldening
  1686.     and track kerning as specified in tfont.
  1687.     (composite_node::width): Change width calculation accordingly.
  1688.     * troff/env.h (environment::composite): New member.
  1689.     (environment::is_composite, environment::set_composite): New
  1690.     functions.
  1691.     * troff/env.c (environment::environment): Initialize composite.
  1692.     * troff/input.c (charinfo_to_node): Call
  1693.     environment::set_composite.
  1694.     * troff/node.c (make_composite_node, make_glyph_node): Use the
  1695.     plain version of the tfont if the environment is composite.
  1696.  
  1697.     * troff/node.c (font_info::get_space_width): Additional argument
  1698.     giving space_size.  Handle constant space correctly. Scale by
  1699.     space_size unless constant spaced.
  1700.     (env_sentence_space_width): New function.
  1701.     * troff/node.h: Declare it.
  1702.     * troff/env.h (environment::get_space_size,
  1703.     environment::get_sentence_space_size,
  1704.     environment::get_narrow_space_width,
  1705.     environment::get_half_narrow_space_width): Make inline.
  1706.     (environment::get_space_width): Make inline.  Just call
  1707.     env_space_width.
  1708.     * troff/env.c: Delete definitions for funtions made inline.
  1709.     (environment::space_newline, environment::space): Use
  1710.     env_sentence_space_width(). Don't scale by space_size.
  1711.     * troff/node.h: Move declarations of env*space_width() functions
  1712.     into env.h.
  1713.  
  1714. Sat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)
  1715.  
  1716.     * macros/tmac.s (PS): Don't try to set negative indent.
  1717.  
  1718. Thu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)
  1719.  
  1720.     * pic/pic.y: Fix min function.
  1721.  
  1722. Tue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)
  1723.  
  1724.     * man/mdate.sh: Clear LANGUAGE.
  1725.  
  1726. Sun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)
  1727.  
  1728.     * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
  1729.     * pic/lex.c: New COMMAND keyword.
  1730.     * pic/pic.y (print_args, print_arg): New rules.
  1731.     (placeless_element): Use print_args for PRINT.
  1732.     New COMMAND element.
  1733.  
  1734. Tue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)
  1735.  
  1736.     * troff/input.c (terminal): Handle missing argument correctly.
  1737.  
  1738.     * pic/pic.y (text_expr): New rule.
  1739.  
  1740.     * pic/pic.y: Implement := operator.
  1741.  
  1742. Sun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)
  1743.  
  1744.     * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
  1745.     mdoc.
  1746.  
  1747. Sat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)
  1748.  
  1749.     * ps/devps/dingbatsrmap: Include this in the distribution.
  1750.  
  1751.     * macros/tmac.doc: Replace with new version from 2nd Networking
  1752.     Release. Fix loading of doc-* files.
  1753.     * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
  1754.     * macros/tmac.doc.old: New file.  Apply fixes that had been
  1755.     applied to old tmac.doc.
  1756.     * macros/tmac.andoc: Check that we're running under groff.
  1757.     * macros/Makefile: Rework.
  1758.  
  1759. Fri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)
  1760.  
  1761.     * tbl/table.h (format_type): 
  1762.     * refer/token.h (token_type): If NESTED_TYPES is defined, use
  1763.     typedef to make these types visible at file scope.
  1764.     * Makefile: Add NESTED_TYPES configuration option.
  1765.  
  1766.     * troff/div.c (mark): At the top level use the value of
  1767.     nl_reg_contents rather than the current vertical position.
  1768.  
  1769. Thu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)
  1770.  
  1771.     * tty/tty.c: Implement \D for horizontal or vertical lines.
  1772.     (tty_printer::set_char): Use vec_used+2 as serial number.
  1773.     Don't allow size of vector to exceed USHRT_MAX-2.
  1774.     Split off part into...
  1775.     (tty_printer::add_char): New function.
  1776.     (tty_printer::draw): New function.
  1777.     (compare_glyph): Handle equal serial numbers.
  1778.     (tty_printer::end_page): Handle overstruck characters from \D.
  1779.     (main, usage): Implement -d option.
  1780.  
  1781. Mon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)
  1782.  
  1783.     * tbl/main.c (process_format):
  1784.     * eqn/text.c (split_text):
  1785.     * troff/input.c (token::next): Use inner block for declarations
  1786.     with initializers in switch statement.
  1787.  
  1788. Mon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)
  1789.  
  1790.     * pic/common.c (common_output::dash_line): Cope with zero-length
  1791.     lines.
  1792.  
  1793. Sun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)
  1794.  
  1795.     * Version 1.04 released.
  1796.  
  1797. Wed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)
  1798.  
  1799.     * macros/tmac.an (TH): Define a macro an-init to define variables
  1800.     based on command line arguments.
  1801.     (an-header): Call it.
  1802.  
  1803. Sun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)
  1804.  
  1805.     * Makefile (install.mm): Rename to install.dwbmm.
  1806.  
  1807.     * Makefile: Integrate mm.
  1808.     * mm: New directory.
  1809.  
  1810. Wed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)
  1811.  
  1812.     * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
  1813.     <sys/types.h>.
  1814.  
  1815.     * pic/troff.c (troff_output::simple_spline,
  1816.     troff_output::simple_polygon): Rename variable `v' to `d' to avoid
  1817.     shadowing parameter.
  1818.  
  1819.     * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
  1820.  
  1821.     * lib/ptable.h: Add explicit casts when converting from unsigned
  1822.     long to unsigned.
  1823.  
  1824.     * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
  1825.     * dvi/devdvi/Makefile: Install SA, SB.
  1826.  
  1827.     * refer/indxbib.c: Add declaration of mktemp.
  1828.  
  1829.     * refer/lookbib.c: Add declaration of isatty.
  1830.  
  1831. Fri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)
  1832.  
  1833.     * pic/lex.c (interpolate_macro_with_args):  While collecting
  1834.     arguments, keep track of whether we're in a string.
  1835.  
  1836. Wed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)
  1837.  
  1838.     * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
  1839.     down with \v, so as to avoid problems with top of page trap
  1840.     setting no space mode.
  1841.  
  1842. Tue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)
  1843.  
  1844.     * eqn/lex.c (get_delimited_text): Allow tab before macro body.
  1845.  
  1846. Tue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)
  1847.  
  1848.     * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
  1849.     Improve error message.
  1850.  
  1851. Fri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)
  1852.  
  1853.     * ps/psrm.c (print_ps_string): Don't pass negative numbers to
  1854.     printf("%03o");
  1855.  
  1856. Wed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)
  1857.  
  1858.     * groff.c (possible_command::execp): Always use _exit() after a
  1859.     failed exec.
  1860.  
  1861.     * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
  1862.     NO_SYS_WAIT_H     configuration options.
  1863.     * groff.c: Use these options.  Use POSIX-style macros to extract
  1864.     fields from the status returned by wait().
  1865.  
  1866. Fri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)
  1867.  
  1868.     * tbl/table.c (table::compute_separation_factor): Allow the
  1869.     separation factor to drop to 0.
  1870.  
  1871. Tue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)
  1872.  
  1873.     * refer/search.c: Include <errno.h>.
  1874.  
  1875. Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
  1876.  
  1877.     * pic/pic.y (YYDEBUG): Don't define for Borland C++.
  1878.  
  1879.     * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
  1880.     C++. 
  1881.  
  1882.     * pic/lex.c (input_stack::bol): Move definition out of class body.
  1883.  
  1884.     * pic/main.c: On MSDOS munge argv[0].
  1885.  
  1886.     * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
  1887.  
  1888.     * lib/ptable.c (hash_string): Use unsigned long rather than
  1889.     unsigned.
  1890.     (next_ptable_size): Use unsigned rather than int.  Give an error
  1891.     message if we've hit the largest table size.
  1892.     * lib/ptable.c: Corresponding changes.  Also use unsigneds for the
  1893.     table size.
  1894.  
  1895.     * pic/object.h (object_spec): Make flags unsigned long.  Declare
  1896.     flags as const unisgned long rather than as enums.
  1897.  
  1898.     * pic/output.c: Deleted.
  1899.  
  1900.     * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
  1901.  
  1902.     * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
  1903.     Add additional argument.
  1904.     (line_entry::note_double_vrule_on_{left,right}): Set value of
  1905.     douvle_vrule_on_{right,left} flag according to argument.
  1906.     (simple_line_entry::simple_print,
  1907.     simple_line_entry::double_line_print): If adjacent to double vrule
  1908.     on a corner extend rather than shorten the rule by half the double
  1909.     vrule sep.
  1910.  
  1911.     * troff/number.c (parse_term): In checking for overflow, handle the
  1912.     case where the current horizontal position is negative.
  1913.  
  1914. Thu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)
  1915.  
  1916.     * pic/object.c (draw_arrow): Check for object having zero length.
  1917.  
  1918. Wed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)
  1919.  
  1920.     * eqn/main.c (do_file): Split off inline equation handling into...
  1921.     (inline_equation): New function.  Search for starting delimiter
  1922.     using...
  1923.     (delim_search): New function. Don't recognize a delimiter that
  1924.     occurs in the name of an escape sequence, number register, string
  1925.     etc.
  1926.  
  1927. Tue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)
  1928.  
  1929.     * eqn/delim.c (delim_box::compute_metrics): Don't call
  1930.     define_extensible_string if left is 0.
  1931.     (delim_box::output):  Don't print the left delimiter if left is 0.
  1932.     (delim_box::debug_print): Check for left == 0 before calling printf.
  1933.  
  1934. Fri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)
  1935.  
  1936.     * troff/Makefile (majorminor.c): Include only digits in
  1937.     minor_version.
  1938.  
  1939. Thu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)
  1940.  
  1941.     * refer/dirnamemax.c: new file.
  1942.     * refer/genlimits.c: Deleted.
  1943.     * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
  1944.     Don't check path length.
  1945.     * refer/Makefile: Add dir_name_max.o; delete genlimits.
  1946.     * Makefile: Add PATHCONF_MISSING option.
  1947.  
  1948.     * refer/indxbib.c (get_cwd): New function.
  1949.     (main): Use get_cwd().
  1950.     * lib/getcwd.c: New file.
  1951.     * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
  1952.     GETCWD in SUBFLAGS.
  1953.     * lib/Makefile: Compile getcwd.o.
  1954.  
  1955.     * ps/tmac.psatk (psatk-defs): Define showpage after pushing
  1956.     userdict.
  1957.  
  1958.     * refer/indxbib.c (main): Check success of mktemp.
  1959.  
  1960.     * lib/tmpfile.c: New file.
  1961.     * lib/Makefile: Add tmpfile.c.
  1962.     * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
  1963.     * ps/ps.h: Delete declaration of mktemp().
  1964.     * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
  1965.     * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
  1966.     * driver/driver.h: No need now to include errno.h.
  1967.  
  1968.     * everywhere: Set errno to 0 before calling fopen().
  1969.  
  1970.     * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
  1971.     dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
  1972.     refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
  1973.  
  1974. Mon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)
  1975.  
  1976.     * troff/env.h (translate_space_to_dummy): Declare it.
  1977.     * troff/env.c (environment::space_newline, environment::space):
  1978.     If translate_space_to_dummy is set then make the width of spaces 0.
  1979.     * troff/input.c (translate): If the second character of a
  1980.     translation is a space, translate to unbreakable space.  If the
  1981.     first character is a space, set or clear translate_space_to_dummy
  1982.     according to whether the second character is \&.  Weird!
  1983.  
  1984. Tue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)
  1985.  
  1986.     * groff.c (run_commands): Don't use non-zero exit code because a
  1987.     command gets SIGPIPE.
  1988.  
  1989.     * groff.c, groff.sh: Use -mXps with -TXps.
  1990.  
  1991.     * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
  1992.     (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
  1993.     ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
  1994.     (ps_printer::special): New specials invis and endinvis.
  1995.     (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
  1996.     (ps_printer::set_char, ps_printer::draw): Return if invis_count>0. 
  1997.     (ps_printer::end_page): Check that invis_count == 0.
  1998.     (ps_printer::invis_count): New member.
  1999.     (ps_printer::ps_printer): Initialize invis_count to 0.
  2000.  
  2001.     * troff/env.c (environment::hyphenate_line): Hyphenation
  2002.     indicator at beginning of word inhibits splitting after -, \(em
  2003.     etc.
  2004.  
  2005.     * pic/pic.y (element): Allow another element to follow } without
  2006.     any intervening separator.
  2007.  
  2008. Mon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)
  2009.  
  2010.     * pic/lex.c (get_delimited): Allow tabs before delimiter.
  2011.  
  2012. Wed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)
  2013.  
  2014.     * groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
  2015.     declaration of wait() in header files.
  2016.     * Makefile: Get rid of -DHAVE_UNION_WAIT.
  2017.  
  2018.     * tbl/table.c (alphabetic_text_entry::add_tab): New function.
  2019.  
  2020.     * lib/lib.h: Declare return type of strerror as char *.
  2021.  
  2022.     * man/Makefile: Add g flag to sed substitutions.
  2023.     * Makefile (shgroff, bindist): Likewise.
  2024.  
  2025. Sun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)
  2026.  
  2027.     * ps/ps.c (ps_printer::do_import): Move push of userdict into...
  2028.     * ps/devps/prologue (PBEGIN): Define showpage after pushing
  2029.     userdict.
  2030.  
  2031. Sat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)
  2032.  
  2033.     * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
  2034.     userdict.
  2035.  
  2036. Fri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)
  2037.  
  2038.     * man/mdate.sh: Handle the fact that BSD ls -l does not print the
  2039.     group.
  2040.  
  2041. Sun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)
  2042.  
  2043.     * troff/input.c (define_number_reg):  If currently undefined,
  2044.     don't define it if the argument is an invalid expression.
  2045.  
  2046.     * Makefile: Ignore return value of `if' commands without `else'
  2047.     parts.
  2048.  
  2049.     * Makefile: Split up CPPDEFINES into a series of separate
  2050.     configuration options.
  2051.  
  2052.     * troff/input.c (init_registers): Use time_t instead of long
  2053.     unless LONG_FOR_TIME_T is defined.  Use returned result rather
  2054.     than passing pointer.
  2055.     * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
  2056.  
  2057.     * lib/Makefile (fontpath.h): Use gendef.
  2058.  
  2059. Thu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)
  2060.  
  2061.     * troff/input.c (input_iterator::shift): Delete argument name.
  2062.     * troff/node.c (suppress_output_file::really_begin_page,
  2063.     suppress_output_file::really_transparent_char, node::ascii_print,
  2064.     node::tprint): Delete names of unused arguments.
  2065.  
  2066. Wed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)
  2067.  
  2068.     * refer/label.y (string):  Pass $4 to command_error.
  2069.  
  2070. Tue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)
  2071.  
  2072.     * Version 1.03 released.
  2073.  
  2074. Sat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)
  2075.  
  2076.     * Makefile: Pass definition of SHELL in SUBFLAGS.
  2077.  
  2078.     * gendef: New file.
  2079.     * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
  2080.     ps/Makefile: Use gendef to construct header files that are
  2081.     constructed from the Makefile.
  2082.  
  2083.     * macros/Makefile: make all should build stripped version of tmac.e.
  2084.  
  2085.     * refer/Makefile (clean): Remove y.output.
  2086.  
  2087. Fri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)
  2088.  
  2089.     * ps/pfbtops.c (main): Add -v option which prints out a version
  2090.     number.
  2091.     * ps/Makefile (pfbtops): Link with libgroff.a.
  2092.  
  2093. Fri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)
  2094.  
  2095.     * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
  2096.     * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
  2097.  
  2098.     * refer/lkbib.c (main): Always terminate reference with blank
  2099.     line.
  2100.     * refer/lookbib.c (main): Likewise.
  2101.  
  2102.     * refer/linear.c (file_buffer::load): Check that the file is not a
  2103.     binary file.
  2104.  
  2105.     * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
  2106.     (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
  2107.     Delete second inclusion of <sys/param.h>.
  2108.  
  2109. Tue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)
  2110.  
  2111.     * troff/token.h (token::special): Deleted.
  2112.  
  2113.     * tbl/main.c (process_format): Rework so that opt->tab_char is
  2114.     recognized only when appropriate.
  2115.  
  2116.     * ps/Makefile (clean): Remove pfbtops.
  2117.  
  2118. Sun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)
  2119.  
  2120.     * lib/font.c (text_file::next): Don't return if we have got a
  2121.     blank line.
  2122.  
  2123. Fri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)
  2124.  
  2125.     * refer/refer.c (store_reference): Get hash code from old_table[i]
  2126.     when rehashing the table.
  2127.  
  2128. Thu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)
  2129.  
  2130.     * eqn/box.c (box::top_level): Save size and prev size using \R and
  2131.     restore it afterwards. Set the size to the size at the beginning
  2132.     of the line.
  2133.     * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
  2134.     SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
  2135.  
  2136.     * refer/Makefile (limits.h): Use ./genlimits.
  2137.  
  2138. Wed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)
  2139.  
  2140.     * refer/index.c: Delete declarations of stat() and fstat().
  2141.  
  2142. Tue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)
  2143.  
  2144.     * tty/tmac.tty: Add character definitions for \(>= and \(<=.
  2145.  
  2146. Mon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)
  2147.  
  2148.     * etc/grog.sh, etc/grog.pl: Change regex for .PS.
  2149.  
  2150. Fri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)
  2151.  
  2152.     * troff/input.c (token::get_char): Handle \e.
  2153.  
  2154.     * refer/linear.c: Delete declarations of fstat() and stat().
  2155.  
  2156. Wed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)
  2157.  
  2158.     * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
  2159.     OP_DELETE_BROKEN stuff, since we now have a fix for g++.
  2160.  
  2161. Mon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)
  2162.  
  2163.     * troff/input.c (do_define_macro): Improve error handling for end
  2164.     of file while defining macro.
  2165.  
  2166. Sun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)
  2167.  
  2168.     * eqn/box.h: Fix declaration of set_gsize.
  2169.     * eqn/box.c (set_gsize): Make argument const char *.
  2170.     (gsize): Declare as char *.
  2171.     * eqn/main.c (main): Don't convert gsize to int.
  2172.     * eqn/lex.c (do_gsize): Pass char * to set_gsize.
  2173.  
  2174.     * Version 1.02 released.
  2175.  
  2176. Sat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)
  2177.  
  2178.     * macros/tmac.andoc: New file.
  2179.     * macros/Makefile: Install tmac.andoc.
  2180.  
  2181.     * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
  2182.     operator new and delete on OP_DELETE_BROKEN not being defined.
  2183.     * Makefile: Mention OP_DELETE_BROKEN.
  2184.  
  2185. Mon May 27 13:49:07 1991  James Clark  (jjc at jclark)
  2186.  
  2187.     * Makefile (bindist): Pass SUBFLAGS.
  2188.  
  2189. Sun May 26 14:13:22 1991  James Clark  (jjc at jclark)
  2190.  
  2191.     * Makefile, groff.c: Pass definitions to groff.c via device.h.
  2192.  
  2193.     * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
  2194.     parameter.
  2195.  
  2196.     * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
  2197.  
  2198.     * ps/ps.h, ps/psrm.c: Make comment_table and
  2199.     header_comment_table local to resource_manager::process_file.
  2200.  
  2201.     * groff.sh: With -TXps pass -printCommand option to gxditview.
  2202.  
  2203.     * groff.c (possible_command::print): Implement using
  2204.     append_arg_to_string.
  2205.  
  2206.     * xditview: Merge in new implementation with own ChangeLog.
  2207.  
  2208. Sat May 25 18:33:20 1991  James Clark  (jjc at jclark)
  2209.  
  2210.     * groff.c (main): Implement PRINT_OPTION.
  2211.     (append_arg_to_string): New command.
  2212.     (device_table): Set PRINT_OPTION flag for Xps.
  2213.  
  2214. Fri May 24 09:48:58 1991  James Clark  (jjc at jclark)
  2215.  
  2216.     * troff/groff.h: Rename to troff.h.
  2217.  
  2218.     * pic/lex.c (lookup_keyword, docmp): New functions.
  2219.     (get_token): Use new lookup_keyword.
  2220.     Don't include key.h.
  2221.     * pic/key.[ch], pic/pic.gperf: Deleted.
  2222.     * pic/Makefile: Remove gperf stuff.
  2223.  
  2224.     * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
  2225.     into output.h.
  2226.     * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
  2227.  
  2228.     * troff/Makefile, troff/node.c: Move definition of
  2229.     STORE_WIDTH into node.c.
  2230.  
  2231.     * etc/grog.pl, etc/grog.sh: Support -mdoc.
  2232.  
  2233. Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)
  2234.  
  2235.     * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
  2236.     dvi/devdvi/texb.map: Add lq and rq.
  2237.     dvi/devdvi: Regenerate fonts.
  2238.     * ps/devps/textmap: Add lq and rq.
  2239.     * ps/devps: Regenerate fonts.
  2240.     * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
  2241.     * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
  2242.  
  2243.     * pic/object.c (position_rectangle): When checking radius
  2244.     cope with possiblity that width or height is negative.
  2245.     (box_object::box_object): Have separate xrad and yrad with
  2246.     signs matching signs of dim components.
  2247.     (box_object::{north,south}_{east,west}): Use xrad and yrad.
  2248.     (box_object::print): With rounded boxes use absolute values
  2249.     for dim and rad arguments.
  2250.  
  2251.     * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
  2252.     in fontpath.h.
  2253.  
  2254.     * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
  2255.  
  2256.     * various files: Add explicit destructors to keep Saber CC +d
  2257.     happy.
  2258.  
  2259. Wed May 22 11:37:11 1991  James Clark  (jjc at jclark)
  2260.  
  2261.     * eqn/box.c (box::top_level): Restore fonts correctly after
  2262.     font changes in line containing inline equation.  Also
  2263.     restore previous font as well as current font.
  2264.     * eqn/pbox.h: Define necessary string and register names.
  2265.  
  2266.     * troff/input.c (token::next): Case 'R' calls do_register.
  2267.     (do_register): New function.
  2268.  
  2269. Tue May 21 11:28:23 1991  James Clark  (jjc at jclark)
  2270.  
  2271.     * groff.c, groff.sh: Support Xps device.  Allow each device
  2272.     to have a pseudo_name and a real_name.
  2273.  
  2274.     * groff.c (run_commands): Don't print `Broken pipe' messages.
  2275.  
  2276.     * ps/pfbtops.c: New file.
  2277.     * ps/Makefile: Add pfbtops.
  2278.  
  2279.     * troff/number.c (parse_term): Improved error message.
  2280.  
  2281. Mon May 20 11:22:14 1991  James Clark  (jjc at jclark)
  2282.  
  2283.     * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
  2284.  
  2285.     * Makefile: Integrate refer.
  2286.     * refer: New directory.
  2287.     * man/grefer.man, man/glookbib.man, man/gindxbib.man,
  2288.     man/lkbib.man: New files.
  2289.     * man/Makefile: Support refer man pages.
  2290.  
  2291.     * lib/lib.h: Declare is_prime.
  2292.     * lib/prime.c: New file.
  2293.  
  2294.     * troff/input.c (macro_source): New function.
  2295.     (init_input_requests): Bind "mso" to macro_source.
  2296.  
  2297.     * troff/env.c (environment::possibly_break_line): Maintain
  2298.     pointer to pointer to node to be split in ndp so as to avoid
  2299.     using address of freed node.
  2300.  
  2301.     * troff/env.c (environment::hyphenate_line): Maintain pointer to
  2302.     pointer to first node to be hyphenated in startp so as to
  2303.     avoid using address of freed node.
  2304.  
  2305.     * troff/env.c (class trie, class hyphen_trie): Make the
  2306.     elements of the trie be of type char not unsigned char.
  2307.     Declare arguments to be const char* instead of unsigned char *.
  2308.     
  2309.     * troff/env.c (hyphenate): Initialize hbuf[0].
  2310.  
  2311.     * troff/input.c (set_string): Declare p to be char * and cast
  2312.     *p to unsigned char when necessary.
  2313.  
  2314.     * troff/input.c (do_define_macro): Declare s to be const
  2315.     char*. Cast element to unisgned char when necessary, Declare
  2316.     d to be an int.  Handle EOF better.
  2317.  
  2318.     * troff/Makefile, troff/input.c: Different scheme for passing
  2319.     definitions of MACROPATH, HYPHENFILE and DEVICE.
  2320.  
  2321. Tue May 14 13:41:36 1991  James Clark  (jjc at jclark)
  2322.  
  2323.     * tty/devascii/R.proto: Delete entry for em.
  2324.     * tty/devlatin1/R.proto: Likewise.
  2325.  
  2326. Sat May 11 11:13:28 1991  James Clark  (jjc at jclark)
  2327.  
  2328.     * troff/input.c (translate): Stop when we get a space. Treat eof
  2329.     like newline.
  2330.  
  2331.     * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
  2332.  
  2333. Wed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)
  2334.  
  2335.     * tbl/main.c (process_format): A font name following a `f'
  2336.     modifier that starts with a digit can be only one character long.
  2337.     Also deal with EOF on the second character of the font name.
  2338.  
  2339. Wed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)
  2340.  
  2341.     * troff/input.c (token::next): Turn \~ into an
  2342.     unbreakable_space_node.
  2343.     * troff/node.c (unbreakable_space_node): New class.
  2344.     * troff/node.h: Declare it.
  2345.  
  2346. Tue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)
  2347.  
  2348.     * dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
  2349.     it's >= 0, before outputting it as a single byte.
  2350.  
  2351. Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
  2352.  
  2353.     * lib/font.c: Make font_char_metric::code an int.
  2354.     (font::get_code): Change return type to int.
  2355.     (font::load): Allow code to be arbitrary integer.
  2356.     * lib/font.h (font::get_code): Change return type to int.
  2357.     (font::number_to_index): Change argument type to int.
  2358.     * troff/input.c (token::next):  In case 'N', allow any value.
  2359.     Store value in token::val.
  2360.     (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
  2361.     (token::get_char, token::add_to_node_list, token::process): Get
  2362.     number from val.
  2363.     (charinfo::set_number): Change argument to int.
  2364.     (charinfo::get_number):  Require that NUMBERED flag be set.
  2365.     (get_charinfo_by_number): Store numbered characters not between 0
  2366.     and 255 in a dictionary.
  2367.     * troff/charinfo.h (get_charinfo_by_number): Change argument type
  2368.     to int.
  2369.     (charinfo::number): Change type to int.
  2370.     (charinfo::set_number): Change type of set_number to int.
  2371.     * troff/node.c (troff_output_file::put_char_width,
  2372.     troff_output_file::put_char): Test whether character is numbered
  2373.     using charinfo::numbered().
  2374.     * driver/printer.c (printer::set_numbered_char): Allow arbitrary
  2375.     values of num.
  2376.     * lib/nametoindex.c: New implementation to cope with arbitrary
  2377.     number characters.
  2378.  
  2379.     * troff/input.c (token::operator==): Test val for
  2380.     TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
  2381.     TOKEN_SIZE.
  2382.  
  2383.     * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
  2384.     (.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
  2385.  
  2386. Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
  2387.  
  2388.     * ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
  2389.     variable.
  2390.  
  2391.     * all Makefiles: rm targets of cp and >.
  2392.  
  2393.     * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
  2394.     it.
  2395.  
  2396.     * eqn/lex.c (def_table): Add dollar.
  2397.  
  2398. Sat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)
  2399.  
  2400.     * troff/input.c (do_width): Push back newline before closing delim
  2401.     like do_bracket.
  2402.  
  2403. Fri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)
  2404.  
  2405.     * groff.c (possible_command::prepend_arg): New function.
  2406.     (main): Prepend device -m option.
  2407.     * groff.sh: Put device -m options before command-line options.
  2408.  
  2409. Tue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)
  2410.  
  2411.     * macros/tmac.an (IP): Quote argument to TP.
  2412.  
  2413.     * ps/ps.c (main): New option -b, which sets...
  2414.     (broken_flags): New variable.
  2415.     (ps_printer::~ps_printer): Incorporate the setup section in the
  2416.     prolog if (broken_flags & NO_SETUP_SECTION).
  2417.     (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
  2418.     (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
  2419.     ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
  2420.     ps_printer::print_needed_font_comment,
  2421.     ps_printer::print_supplied_font_comment,
  2422.     ps_printer::print_include_font_comments,
  2423.     ps_printer::lookup_doc_font, ps_printer::download_fonts,
  2424.     ps_printer::read_download_file, read_document_fonts, add_font,
  2425.     skip_line, parse_fonts_arg, document_font::document_font,
  2426.     document_font::~document_font, document_font::download,
  2427.     ps_output::include_file):  Deleted.
  2428.     (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
  2429.     rather than %!PS-Adobe-2.0.  Make calls to
  2430.     resource_manager::need_font for each font that we used. Replace
  2431.     calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
  2432.     print_supplied_font_comment, print_needed_font_comment by call to
  2433.     resource_manager::print_header_comments. Output %%Orientation
  2434.     comment. Output %%Requirements: numcopies comment if ncopies > 1.
  2435.     Don't output the prolog directly.  Instead call
  2436.     resource_manager::output_prolog.  Only define #copies when ncopies
  2437.     > 1.  Delete calls to print_include_font_comments  and
  2438.     download_fonts.  Add call to resource_manager::document_setup.
  2439.     (ps_printer::do_file): Call resource_manager::import_file instead
  2440.     of including it ourselves.
  2441.     (ps_printer::do_import): Likewise.  Also don't call
  2442.     merge_import_fonts. Push userdict on the dictionary stack before
  2443.     and pop it afterwards.
  2444.     Move declaration of ps_output into ps.h.
  2445.     * ps/psrm.c: New file implementing resource_manager class.
  2446.     * ps/ps.h: New file declaring ps_output and resource_manager
  2447.     classes.
  2448.     * ps/devps/zapfdr.ps:
  2449.     * ps/devps/symbolsl.ps:
  2450.     * ps/devps/prologue:  Use 3.0 conventions.
  2451.     * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
  2452.     Add default definition of BROKEN_SPOOLER_FLAGS.
  2453.     * Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
  2454.     BROKEN_SPOOLER_FLAGS to SUBFLAGS.
  2455.  
  2456. Mon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)
  2457.  
  2458.     * etc/grog.pl: New file.
  2459.     * Makefile (GROG): New variable.
  2460.     Add GROG to SUBFLAGS.
  2461.     * etc/Makefile (GROG): New variable.
  2462.     (install.nobin): Install $(GROG) rather than grog.sh.
  2463.  
  2464. Thu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)
  2465.  
  2466.     * eqn/special.c (special_box::compute_metrics): Make the input and
  2467.     output strings the same.  Get the new height and depth from the
  2468.     predefined height and depth registers.  Also make subscript kern
  2469.     and skew available.
  2470.     (special_box::compute_subscript_kern, special_box::compute_skew):
  2471.     New functions.
  2472.  
  2473.     * eqn/box.c (pointer_box::compute_skew,
  2474.     simple_box::compute_metrics, box::top_level)
  2475.     * eqn/text.c (prime_box::compute_metrics,
  2476.     prime_box::comput_subscript_kern)
  2477.     * eqn/limit.c (limit_box::compute_metrics):
  2478.     * eqn/delim.c (build_extensible, delim_box::compute_metrics):
  2479.     * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
  2480.     negative numbers in `nr' requests with a leading 0.
  2481.  
  2482. Wed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)
  2483.  
  2484.     * eqn/special.c: New file.
  2485.     * eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
  2486.     Add new rule for simple.
  2487.     * eqn/lex.c (token_table): Add SPECIAL.
  2488.     * eqn/box.h: Declare make_special_box.
  2489.     * eqn/Makefile: Add special.[co].
  2490.  
  2491. Sat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)
  2492.  
  2493.     * ps/devps/prologue: Possibly set packing to true while defining.
  2494.     Create grops dictionary here.  Initialize local variables before
  2495.     defining procedures.
  2496.     (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
  2497.     the dictionary stack. Set strokeadjust and overprint to false if
  2498.     the relevant operators are defined.
  2499.     (PEND): New procedure.
  2500.     * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
  2501.     prologue.  Do everything else in the setup section.
  2502.     (ps_printer::do_import): Just call PBEGIN and PEND around the
  2503.     picture. Also push userdict before, and pop it afterwards.
  2504.  
  2505. Wed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)
  2506.  
  2507.     * troff/node.c (bracket_node::tprint): Brackets were being printed
  2508.     1m too low.
  2509.  
  2510.     * macros/tmac.an (SH, SS): Set fill mode.
  2511.  
  2512. Tue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)
  2513.  
  2514.     * troff/div.c (top_level_diversion::begin_page): Set
  2515.     high_water_mark to 0.
  2516.  
  2517. Fri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)
  2518.  
  2519.     * man/mdate.sh: New file.
  2520.     * man/mdate.c: Deleted.
  2521.     * man/Makefile: Use mdate.sh instead of mdate.
  2522.     (mdate): Deleted.
  2523.  
  2524.     * eqn/lex.c (do_gsize): Supply missing argument to error message.
  2525.  
  2526. Tue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)
  2527.  
  2528.     * man/mdate.c: New file.
  2529.     * man/*.man: Replace modification date by @MDATE@.
  2530.     * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
  2531.     (mdate): New target.
  2532.  
  2533.     * lib/font.c (text_file::next): Deal with arbitrarily long lines.
  2534.     Remove illegal input characters.
  2535.  
  2536. Mon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)
  2537.  
  2538.     * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
  2539.  
  2540. Sat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)
  2541.  
  2542.     * troff/div.c (begin_page): Change behaviour when
  2543.     !first_page_begun and !break_flag.
  2544.  
  2545.     * troff/input.c (do_name_test): Return 0 if argument is empty.
  2546.  
  2547.     * troff/input.c (read_long_escape_name): Require closing ] to be
  2548.     at same input level as opening [.
  2549.  
  2550.     * troff/input.c (read_increment_and_escape_name): New function.
  2551.     (get_copy, process_input_stack): Use this for \n.
  2552.  
  2553. Fri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)
  2554.  
  2555.     * troff/div.c (top_level_diversion::begin_page): Ignore the
  2556.     current value of page_number if !first_page_begun.
  2557.  
  2558.     * groff.c (main): Fix declaration of buf.
  2559.  
  2560.     * troff/input.c (do_name_test): New function.
  2561.     (token::next): Implement \A.
  2562.     (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
  2563.     (token::description, token::add_to_node_list, token::process):
  2564.     Handle TOKEN_ESCAPE.
  2565.     * troff/token.h: New token TOKEN_ESCAPE.
  2566.  
  2567. Thu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)
  2568.  
  2569.     * pic/main.c (do_picture): Allow space before and after filename
  2570.     following `<'.  Check that the filename is not empty.
  2571.  
  2572. Wed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)
  2573.  
  2574.     * Version 1.01 released. 
  2575.  
  2576.     * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
  2577.  
  2578.     * dvi/tmac.dvi: ftr HR to H.
  2579.  
  2580.     * macros/tmac.e: Round up computation of $r.
  2581.  
  2582.     * xditview/tmac.X:  Don't give up completely in compatibility mode.
  2583.     Use \n(.s instead of \n[.s].
  2584.  
  2585.     * dvi/tmac.dvi: Don't give up completely in compatibility mode.
  2586.     Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
  2587.     Add u to factors inside \s[...]. Rename frac to dvi-frac.
  2588.     Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
  2589.     short names in the char definitions.
  2590.  
  2591.     * ps/tmac.ps: Don't give up completely in compatibility mode.
  2592.     Fix the fraction definitions to use \n(.s and \(f/. Add an extra
  2593.     quote in front of \n(.s. Add u to factors inside \s[...].
  2594.  
  2595. Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
  2596.  
  2597.     * tty/tmac.tty: Call the nroff request.
  2598.  
  2599.     * macros/tmac.e ((x, )x):  Better definitions that work properly
  2600.     in a diversion.
  2601.     (@0, @1): Helper macros for (x.
  2602.  
  2603.     * macros/tmac.e ($s, hl): Use \l rather than \D.
  2604.  
  2605.     * tty/tmac.tty: Make it work better in compatibility mode.
  2606.     (pchar): Rename to tty-char.
  2607.  
  2608.     * macros/tmac.e (@E): New macro.
  2609.     (r, i, b, rb, bi): Use @E.
  2610.  
  2611.     * macros/tmac.e (@F): Don't use (;...) syntax.
  2612.  
  2613.     * macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
  2614.     it was modified for groff.
  2615.  
  2616.     * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
  2617.  
  2618.     * macros/tmac.e (<., .>): Removed.
  2619.     ([., .]): If \n(.V>=1v, use [] instead of superscripting.
  2620.  
  2621.     * macros/tmac.e: Remove check that groff is being used.
  2622.  
  2623.     * macros/tmac.e (@C): Change families only if using groff; turn
  2624.     compatibility mode off while changing familes. Save compatibility
  2625.     mode before changing families and restore it afterwards.
  2626.  
  2627.     * macros/tmac.e (@h): Remove test for offset + line length.
  2628.  
  2629.     * macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
  2630.     (lo, th, ac): Define to call @S instead of using als.
  2631.  
  2632.     * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
  2633.     the ratio of the vertical spacing to the point size in units
  2634.     expressed as a percentage.  Use these instead of $10r and $10R,
  2635.     Delete $10r and $10R.
  2636.  
  2637.     * lib/font.c (font::load): In default computation of space_width,
  2638.     divide by sizescale.  Use scale_round.
  2639.  
  2640.     * macros/tmac.an (TP): Don't call `nf'.
  2641.     (an-do-tag): Don't call `fi'.
  2642.  
  2643. Sun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)
  2644.  
  2645.     * troff/input.c (process_input_stack): Handle the case where
  2646.     spaces at the beginning of an input line are followed by a
  2647.     newline.
  2648.  
  2649. Thu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)
  2650.  
  2651.     * groff.c (device_table): Add PIC_X_OPTION for dvi device.
  2652.     * groff.sh: Use pic -x with the dvi device.
  2653.  
  2654.     * dvi/devdvi/FontMakefile (H): Don't use -s.
  2655.  
  2656.     * dvi/devdvi/HI, dvi/devdvi/HB: New files.
  2657.     * dvi/devdvi/Makefile: Add HI and HB to FONTS.
  2658.     * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
  2659.     in FONTS.
  2660.  
  2661. Mon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)
  2662.  
  2663.     * ps/psfig.diff: New file.
  2664.     * ps/tmac.psfig: New file.
  2665.  
  2666. Sat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)
  2667.  
  2668.     * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
  2669.     (]-): Don't call ref*do-tl.
  2670.  
  2671.     * macros/tmac.s (ref*end-print): Use XP if [F not defined.
  2672.  
  2673.     * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
  2674.     (fn@do-FS): Rename to fn*do-FS.
  2675.  
  2676.     * troff/input.c (transparent_translate): New function.
  2677.     (process_input_stack): Apply transparent_translate before calling
  2678.     diversion::transparent_output(unsigned char).
  2679.  
  2680. Wed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)
  2681.  
  2682.     * troff/input.c (do_define_macro): Define the macro before calling
  2683.     skip_line.
  2684.  
  2685.     * xditview/Makefile: Add DEVICES variable.  Change install target
  2686.     to use this.
  2687.  
  2688. Tue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)
  2689.  
  2690.     * groff.c (run_commands): Handle the possibility that there are
  2691.     child processes other than those forked by us.
  2692.  
  2693. Sun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)
  2694.  
  2695.     * lib/string.c (string::append): New function.
  2696.     * lib/stringclass.h: Declare it.
  2697.  
  2698. Thu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)
  2699.  
  2700.     * eqn/main.c (main): New option -N which sets
  2701.     no_newline_in_delim_flag. 
  2702.     (do_file): If no_newline_in_delim_flag is set don't allow newlines
  2703.     in delimiters.
  2704.     * groff.c (main): Pass -N on to eqn.
  2705.     (help, synopsis): Mention -N.
  2706.     * groff.sh: Implement -N.
  2707.  
  2708. Wed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)
  2709.  
  2710.     * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
  2711.     (]-): Call ref*do-tl if ref*need-tl is non-zero.
  2712.     (XP): Allow as initializer.
  2713.  
  2714. Tue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)
  2715.  
  2716.     * troff/env.c (environment::wrap_up_field): If field_spaces are
  2717.     non-zero and we have a current_tab, subtract padding from
  2718.     tab_distance.  If this makes tab_distance <= 0, use the next tab
  2719.     stop instead.  If there isn't any next tab or it's a left tab,
  2720.     wrap up the current tab.
  2721.     (environment::start_field): Initialize tab_precedes_field.
  2722.     (environment::wrap_up_tab): If there's a current field, update
  2723.     pre_field_width, field_distance and tab_precedes_field.
  2724.     * troff/env.h (environment::tab_precedes_field): New member.
  2725.  
  2726. Fri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)
  2727.  
  2728.     * ps/ps.c (ps_printer::do_file): New function.
  2729.     (ps_printer::special): Bind to `file' special.
  2730.     (ps_printer::do_exec): Set ndefined_styles to 0.
  2731.  
  2732. Sat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)
  2733.  
  2734.     * eqn/text.c (split_text): Grok \* and similar escapes sequences.
  2735.     Avoid stripping first character from the start of unrecognized
  2736.     escapes.  Use lex_error instead of error to report errors.
  2737.     * eqn/lex.c (get_token): Rework handling of escapes.
  2738.     (lex_error): Move declaration into...
  2739.     * eqn/eqn.h.
  2740.  
  2741.     * xditview/xditview.c (main): Make -page option work.
  2742.  
  2743.     * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
  2744.  
  2745. Wed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)
  2746.  
  2747.     * macros/tmac.s (B2): Correct size of box.
  2748.  
  2749. Tue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)
  2750.  
  2751.     * macros/tmac.s (B2): Postpone drawing the box until in the
  2752.     top-level diversion.
  2753.  
  2754.     * tty/tmac.tty: Add font translations for C, CR, CW.
  2755.  
  2756.     * groff.c (synopsis, help): Document -i.
  2757.     * groff.sh: Implement -i.
  2758.  
  2759.     * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
  2760.     Simplify the construction of SN.
  2761.  
  2762.     * troff/number.c (parse_term): Give `|' a higher precedence.
  2763.     * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
  2764.     accordingly.
  2765.  
  2766.     * macros/tmac.s (B2): Use par@finish instead of par@reset.
  2767.  
  2768. Mon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)
  2769.  
  2770.     * lib/string.c (string::move): New function.
  2771.     * lib/stringclass.h: Declare it.
  2772.  
  2773. Sat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)
  2774.  
  2775.     * troff/env.c (distribute_space): Add optional argument
  2776.     `force_forward'.
  2777.     (environment::wrap_up_field): Call distribute_space with
  2778.     `force_forward' argument of 1.
  2779.  
  2780. Fri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)
  2781.  
  2782.     * lib/string.c, lib/stringclass.h (string::operator+=(char)):
  2783.     Inline it.  Move reallocation into...
  2784.     (string::grow1): New function.
  2785.     * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
  2786.     dependencies to include library header files.
  2787.     * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
  2788.  
  2789. Thu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)
  2790.  
  2791.     * macros/tmac.s (@NH): Use the same number registers than -ms does
  2792.     for the heading level counters.  Use the same string that -ms does
  2793.     for the number for this heading.
  2794.  
  2795. Wed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)
  2796.  
  2797.     * lib/new.c (operator new): Cast result of malloc to char *.
  2798.  
  2799.     * troff/input.c (spring_trap, lookup_request): Add assert that nm
  2800.     is not null.
  2801.  
  2802. Tue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)
  2803.  
  2804.     * groff.c (main): Support -i.
  2805.  
  2806. Sun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)
  2807.  
  2808.     * pic/pic.h: Include <osfcn.h>.
  2809.  
  2810.     * ps/ps.c: Add declaration of mktemp.
  2811.  
  2812.     * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
  2813.     * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
  2814.     argument as union wait *.
  2815.     (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
  2816.     argument to union wait *.
  2817.  
  2818. Sat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)
  2819.  
  2820.     * tty/tmac.tty: Add definition of \(co.
  2821.  
  2822.     * pic/object.c (make_arc): Only increase radius when radius
  2823.     strictly less than d.
  2824.     (arc_object::update_bounding_box): May need to add 4.0 to end_quad
  2825.     more than once.
  2826.  
  2827.     * troff/env.c (environment::environment(symbol),
  2828.     environment::environment(const environment *)):  Initialize
  2829.     input_trap_count.
  2830.  
  2831. Sat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)
  2832.  
  2833.     * tbl/main.c (main): Add exit(0).
  2834.  
  2835.     * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
  2836.  
  2837.     * pic/main.c (main):
  2838.     * eqn/main.c (main):
  2839.     * tbl/main.c (main):
  2840.     * etc/soelim.c (main):
  2841.     * driver/printer.c (printer::~printer):
  2842.     * troff/node.c (real_output_file::~real_output_file,
  2843.     real_output_file::flush):  Check for errors on stdout.
  2844.  
  2845.     * most files: Add 1991 to copyright notice.
  2846.  
  2847.     * macros/tmac.s: Don't test \n(.x and \n(.y.
  2848.  
  2849.     * troff/input.c (token::next): Rename `escape_char' label to
  2850.     `handle_escape_char' and `normal_char' label to
  2851.     `handle_normal_char'.
  2852.  
  2853. Thu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)
  2854.  
  2855.     * groff.c (main, synopsis, help): Support -a option.
  2856.     * groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
  2857.     to trflags while parsing options.
  2858.  
  2859. Tue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)
  2860.  
  2861.     * troff/number.c (parse_term): With `m', `M' and `n' scale
  2862.     indicators, convert scale factor to hunits before scaling.
  2863.  
  2864. Mon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)
  2865.  
  2866.     * lib/font.c (scale_round): Better test for overflow when n is
  2867.     negative.
  2868.  
  2869. Thu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)
  2870.  
  2871.     * tbl/main.c (process_format): Add second argument of type
  2872.     options*. Change callers.  Allow opt->tab_char as well as '\t'
  2873.     between format items.
  2874.  
  2875. Mon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)
  2876.  
  2877.     * macros/tmac.an (PD): With no arguments, make sure register PD is
  2878.     at least \n[.V].
  2879.     (TH): Call PD with no argument, instead of setting register PD
  2880.     directly.
  2881.  
  2882. Sun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)
  2883.  
  2884.     * Version 1.00 released.
  2885.  
  2886. Sat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)
  2887.  
  2888.     * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
  2889.  
  2890.     * dvi/devdvi/DESC: Mount CW instead of CR.
  2891.  
  2892.     * dvi/tmac.dvi: Add definition of \(tm.
  2893.  
  2894.     * dvi/devdvi/texsy.map: Add lh, and rh.
  2895.     * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
  2896.     * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
  2897.  
  2898.     * dvi/devdvi/FontMakefile: Generate H from cmss10.
  2899.     * dvi/devdvi/Makefile: Install H.
  2900.     * dvi/devdvi/H: New file.
  2901.  
  2902. Fri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)
  2903.  
  2904.     * troff/env.c (vertical_spacing): Don't allow vertical spacing to
  2905.     be 0.
  2906.  
  2907. Thu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)
  2908.  
  2909.     * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
  2910.  
  2911.     * macros/tmac.pic (PS): Avoid attempting to set negative indent.
  2912.  
  2913.     * macros/tmac.s (@EN): Handle the case where the equation is empty
  2914.     but the label is not.
  2915.  
  2916. Wed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)
  2917.  
  2918.     * troff/groff.h: New warning category WARN_SPACE.
  2919.     * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
  2920.     WARN_SPACE to warning_table.
  2921.     (interpolate_macro): Give a warning of type WARN_SPACE if the name
  2922.     is longer than two characters and is not defined, but the first
  2923.     two characters do make a defined name.
  2924.  
  2925.     * PROBLEMS: New file.
  2926.  
  2927.     * CHANGES: New file.
  2928.     * README-0.6, README-1.00: Deleted.
  2929.  
  2930.     * groff.c, groff.sh: Add X75-12 and X100-12 devices.
  2931.     * xditview/devX75/Makefile: Make devX75-12.
  2932.     * xditview/devX100/Makefile: Make devX100-12.
  2933.  
  2934.     * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
  2935.     dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
  2936.  
  2937. Tue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)
  2938.  
  2939.     * README-0.7: Rename to README-1.00.
  2940.  
  2941.     * macros/tmac.pic: New file.
  2942.     * macros/Makefile (install.nobin): Install tmac.pic.
  2943.  
  2944. Mon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)
  2945.  
  2946.     * troff/env.c (hyphen_word): Correct the test for whether the
  2947.     token is a hyphen.  Reset npos to 0.
  2948.  
  2949.     * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
  2950.  
  2951. Sun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)
  2952.  
  2953.     * macros/tmac.s (ds*common-end): Call par*reset.
  2954.     (PE): Likewise.
  2955.     (par@reset-indent): Deleted.
  2956.  
  2957.     * macros/tmac.s (@IP): Divert the label.
  2958.  
  2959. Sat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)
  2960.  
  2961.     * xditview/draw.c (setGC): Use a line width of .1m rather than
  2962.     .04m by default; round rather than truncate value.
  2963.  
  2964.     * tbl/table.c (class empty_entry): New class.
  2965.     (empty_entry::empty_entry, empty_entry::line_type): New functions.
  2966.     (table::add_entry): Represent empty entries by objects of type
  2967.     empty_entry.
  2968.     (table_entry::line_type): Return -1.
  2969.     (table::determine_row_type): Ignore entries with line_type 0.
  2970.     Treat type -1 as non-lines.
  2971.  
  2972. Fri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)
  2973.  
  2974.     * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
  2975.     macros/tmac.s: Rename \(-d to \(Sd.
  2976.  
  2977. Thu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)
  2978.  
  2979.     * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
  2980.     * xditview/libXdvi/DviChar.c: Likewise.
  2981.     * dvi/devdvi/texsy.map: Add `<<', `>>'.
  2982.  
  2983. Wed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)
  2984.  
  2985.     * troff/div.c (top_level_diversion::begin_page): Call
  2986.     init_output() if the_output is 0.
  2987.  
  2988. Sat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)
  2989.  
  2990.     * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
  2991.     ESCAPE_c.
  2992.     (get_copy): Turn \E into ESCAPE_E.
  2993.     (token::process, asciify): Handle ESCAPE_E.
  2994.  
  2995.     * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
  2996.     (RD): New macro.
  2997.     (DS): Implement `.DS R'.
  2998.  
  2999. Fri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)
  3000.  
  3001.     * macros/tmac.s (FS): New macro.
  3002.  
  3003.     * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
  3004.  
  3005.     * macros/tmac.s (cov*tl-init): Remove after first execution
  3006.     instead of aliasing to @nop.  Call top of page macro explicitly
  3007.     instead of setting trap; call @init first.  Set pg@top as top of
  3008.     page macro.
  3009.     (cov*auto-init): Deleted.  Set cov*tl-init instead of
  3010.     cov*auto-init as top of page trap. 
  3011.     (TL, LP): Do a break instead of calling cov*tl-init.
  3012.     (cov*print): With RP format but no TL, alias FS and FE to @FS and
  3013.     @FE; in this case also give a warning and always start another
  3014.     page. No need to set pg@top here.
  3015.     (cov*tl-init): Rename to cov*first-page-init.
  3016.  
  3017.     * macros/tmac.s (RP): Do `.pn 0'.
  3018.     (cov*tl-init): With RP format don't do `.pn 0'.
  3019.  
  3020.     * macros/tmac.s (pg@cs-top): Set no space mode.
  3021.  
  3022.     * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
  3023.     (cov*ab-init): Alias TL, AU and AI to these.
  3024.  
  3025. Thu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)
  3026.  
  3027.     * macros/tmac.s (@EQ): Move the space before the equation into @EN
  3028.     (@EN): Do nothing unless \n[dl] is > 0.
  3029.  
  3030. Tue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)
  3031.  
  3032.     * pic/object.c (ellipse_object::radius): New function.
  3033.  
  3034.     * VERSION: Change version to 0.7.
  3035.  
  3036.     * tbl/table.c (block_entry::do_divert): Declare return type as
  3037.     void.
  3038.     (block_entry::divert, alphabetic_block_entry::divert): Return 1.
  3039.  
  3040. Mon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)
  3041.  
  3042.     * troff/column.c: New file.
  3043.     * troff/Makefile: Corresponding changes.
  3044.  
  3045.     * troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
  3046.     Friend of vunits.
  3047.  
  3048.     * troff/div.c (top_level_diversion::space): If the space causes
  3049.     the first-page transition and springs a trap, truncate the space
  3050.     to 0.
  3051.  
  3052. Fri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)
  3053.  
  3054.     * ps/ps.c (ps_printer::do_import): Add a `clear' after including
  3055.     the document.
  3056.  
  3057.     * pic/troff.c (troff_output::line_thickness,
  3058.     troff_output::set_fill): Do a horizontal motion to compensate for
  3059.     the width of the \D escape sequence.
  3060.  
  3061. Thu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)
  3062.  
  3063.     * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
  3064.     (not X75).
  3065.  
  3066.     * eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
  3067.     to printf.
  3068.  
  3069.     * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
  3070.     Supply empty definition.
  3071.     (text_entry::simple_print, simple_text_entry::simple_print):
  3072.     Delete declarations.
  3073.     (table::add_entry): Represent empty entries by objects of type
  3074.     `simple_entry'.
  3075.  
  3076. Wed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)
  3077.  
  3078.     * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
  3079.  
  3080.     * tbl/table.c (left_text_entry::add_tab): New function.
  3081.  
  3082.     * macros/tmac.s: Make @RT an alias for par@reset.  Make RT
  3083.     initialize like LP.
  3084.  
  3085. Mon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)
  3086.  
  3087.     * troff/env.c (environment::start_field): Give an error message if
  3088.     there is no next tab.
  3089.  
  3090. Sun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)
  3091.  
  3092.     * troff/env.c (hyphenate): Skip initial elements with zero
  3093.     hyphenation code.
  3094.  
  3095.     * macros/tmac.s (par@init): Keep VS in points rather than units.
  3096.  
  3097. Sat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)
  3098.  
  3099.     * pic/main.c (main): Implement `-c' option.
  3100.     * pic/output.h: Declare make_tpic_output().
  3101.     * pic/tex.c (tex_output::set_pen_size): Make it virtual and
  3102.     protected.
  3103.     (tpic_output): New class.
  3104.     (tpic_output::tpic_output, tpic_output::set_pen_size,
  3105.     tpic_output::command, make_tpic_output): New functions.
  3106.  
  3107. Fri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)
  3108.  
  3109.     * tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
  3110.     if they're not already defined.
  3111.     * tbl/table.c (init_output): Don't test \n(.g.
  3112.  
  3113.     * troff/input.c (do_if_request): Delete `g' condition. Recognize
  3114.     `d', `r' and `c' conditions even in compatibility mode.
  3115.  
  3116. Tue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)
  3117.  
  3118.     * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
  3119.     box.
  3120.  
  3121. Mon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)
  3122.  
  3123.     * troff/env.h (environment::prev_line_interrupted): New member.
  3124.     (environment::get_prev_line_interrupted): New function.
  3125.     * troff/env.c (environment::newline): Set prev_line_interrupted.
  3126.     (environment::environment(const environment *),
  3127.     environment::environment(symbol)): Initialize
  3128.     prev_line_interrupted.
  3129.     * troff/input.c (process_input_stack): Don't give special
  3130.     treatment to space and newline at the beginning of the line if the
  3131.     previous line was interrupted.
  3132.  
  3133. Sat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)
  3134.  
  3135.     * eqn/eqn.y: Disallow PRIME by itself.
  3136.     * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
  3137.     PRIME.
  3138.     (def_table): Remove definition of '.  Define prime to be `.
  3139.  
  3140.     * eqn/eqn.y: Split off part of rule `script' into a new rule
  3141.     `nonsup'.
  3142.  
  3143. Fri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)
  3144.  
  3145.     * macros/tmac.s ({, }): New string aliases.
  3146.  
  3147. Thu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)
  3148.  
  3149.     * README-0.7: New file.
  3150.  
  3151. Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
  3152.  
  3153.     * macros/tmac.s: New file.
  3154.     * man/groff_ms.man: New file.
  3155.     * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
  3156.     * Makefile.bd: Similarily.
  3157.     * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
  3158.     definition of TMAC_S.
  3159.     * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
  3160.     * macros/TODO: New file.
  3161.  
  3162. Sat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)
  3163.  
  3164.     * troff/env.c (right_justify): New function.
  3165.     (init_env_requests): Bind this to request "rj".
  3166.     (center_lines): Set right_justify_lines to 0. If we get a bad
  3167.     integer, center 1 line.
  3168.     (environment::environment(symbol), environment::environment(const
  3169.     environment *)): Initialize right_justify_lines.
  3170.     (environment::get_right_justify_lines): New function.
  3171.     (init_env_requests): Bind this to number_register ".rj".
  3172.  
  3173.     * troff/env.c (environment::choose_breakpoint): Implement
  3174.     hyphenation_margin and hyphenation_space.
  3175.     (environment::get_hyphenation_space,
  3176.     environment::get_hyphenation_margin): New functions.
  3177.     (init_env_requests): Bind these to .hys and .hym.
  3178.     (hyphenation_space_request, hyphenation_margin_request): New
  3179.     functions
  3180.     (init_env_requests): Bind these to hys and hym.
  3181.     (environment::environment(symbol), environment::environment(const
  3182.     environment *)): Initialize hyphenation_margin and
  3183.     hyphenation_space.
  3184.     * troff/env.h: Corresponding changes to class environment.
  3185.  
  3186. Fri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)
  3187.  
  3188.     * troff/div.c (blank_line): Always do a break.
  3189.  
  3190.     * eqn/box.c (do_text): Turn off escapes while appending text to
  3191.     string.
  3192.  
  3193. Thu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)
  3194.  
  3195.     * troff/input.c (while_break_request, while_continue_request): New
  3196.     functions.
  3197.     (init_input_requests): Bind these to "break" and "continue".
  3198.     (while_depth, while_break_flag): New variables.
  3199.     (while_request): Update while_depth.  Break out of loop if
  3200.     while_break_flag is set.
  3201.  
  3202. Wed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)
  3203.  
  3204.     * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
  3205.     rather than 0.
  3206.  
  3207. Mon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)
  3208.  
  3209.     * Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.
  3210.  
  3211.     * stringify: New file.
  3212.     * Makefile (groff.o): Use stringify.
  3213.  
  3214.     * xditview/tmac.X: Remove definition of \(rn.
  3215.     * xditview/libXdvi/DviChar.c: Remove radicalex from
  3216.     Adobe_symbol_map.
  3217.  
  3218. Sat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)
  3219.  
  3220.     * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
  3221.     (alphabetic_block_entry::alphabetic_block_entry,
  3222.     alphabetic_block_entry::divert, alphabetic_block_entry::print):
  3223.     New functions.
  3224.     (block_entry::divert): Split off body into ...
  3225.     (block_entry::do_divert): If the block is alphabetic, subtract 2n
  3226.     from the line length; also update the span width to dl+2n, and the
  3227.     alphabetic span width to dl.
  3228.  
  3229.     * driver/input.c (do_file):  While reading argument to D command,
  3230.     when expanding buffer, multiply szp by sizeof(int) rather than 2
  3231.     in the argument to memcpy.
  3232.  
  3233.     * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
  3234.     width of alphabetic columns.
  3235.  
  3236. Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
  3237.  
  3238.     * troff/node.c (lookup_family): Supply second argument to lookup.
  3239.  
  3240.     * troff/dictionary.c (dictionary::lookup): After an unsuccesful
  3241.     search, return immediately if v is 0.
  3242.  
  3243.     * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
  3244.     (troff_output::start_picture): Set this reg.
  3245.     (troff_output::end_picture): Remove this reg
  3246.     * eqn/box.c (box::extra_space): Don't produce `\x's if
  3247.     EQN_NO_EXTRA_SPACE_REG is defined.
  3248.  
  3249.     * eqn/eqn.y: Allow just a PRIME to be a `simple'.
  3250.     * eqn/text.c (split_text): Map ' to \(fm when it's the first
  3251.     character.
  3252.  
  3253. Thu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)
  3254.  
  3255.     * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
  3256.     requests.
  3257.  
  3258.     * troff/div.c (top_level_diversion::top_level_diversion):
  3259.     Initialize page_number to 0.
  3260.  
  3261. Wed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)
  3262.  
  3263.     * groff/troff (environment::environment(const environment *)):
  3264.     Initialize name to e->name, rather than "anonymous".
  3265.  
  3266. Sat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)
  3267.  
  3268.     * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
  3269.     requested_page.  Split middle part into ...
  3270.     (FindPage): New function.
  3271.     (SetValues): If we don't yet know the last page, and the requested
  3272.     page is greater than the current page, call FindPage.
  3273.     Update the font_map_string before doing this.
  3274.  
  3275.     * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
  3276.     Translate \(lh and \(rh into left and right double arrows.
  3277.  
  3278.     * troff/node.c (class hyphen_inhibitor_node): New class.
  3279.     (hyphen_inhibitor_node::hyphen_inhibitor_node,
  3280.     hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
  3281.     hyphen_inhibitor_node::type,
  3282.     hyphen_inhibitor_node::get_hyphenation_type): New functions.
  3283.     (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
  3284.     than dbreak_node(0, 0) to represent a `\%' at the beginning of a
  3285.     word.
  3286.  
  3287. Fri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)
  3288.  
  3289.     * troff/node.h (dummy_node::get_hyphenation_type,
  3290.     transparent_dummy_node::get_hyphenation_type):  Declare them.
  3291.     * troff/node.c: (dummy_node::get_hyphenation_type,
  3292.     transparent_dummy_node::get_hyphenation_type): New functions.
  3293.  
  3294. Wed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)
  3295.  
  3296.     * xditview/libXdvi/draw.c: If M_PI not defined after including
  3297.     math.h, then define it.
  3298.  
  3299.     * xditview/Makefile: Add definition of AR. Pass it to the submake
  3300.     in libXdvi.
  3301.     * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
  3302.  
  3303. Tue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)
  3304.  
  3305.     * troff/dictionary.h (object_dictionary::alias): Declare return
  3306.     value as int.
  3307.     * troff/dictionary.c (object_dictionary::alias): Return non-zero
  3308.     if the old name was defined.
  3309.     * troff/input.c (alias_macro): Give a warning if the old name was
  3310.     not defined.
  3311.     * troff/reg.c (alias_reg): Likewise.
  3312.  
  3313. Mon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)
  3314.  
  3315.     * troff/input.c (token::next): Delete implementation of \R.
  3316.  
  3317.     * macros/Makefile: Strip comments from tmac.e while installing it.
  3318.  
  3319.     * troff/input.c: New variable `nroff_mode'.
  3320.     (troff_request, nroff_request): New functions.
  3321.     (init_input_requests): Bind `troff' and `nroff' to troff_request
  3322.     and nroff_request.
  3323.     (do_if_request): Compute results of t and n conditions from
  3324.     nroff_mode.
  3325.  
  3326.     * text/text.c (split_text): Fix typo in >=.
  3327.  
  3328.     * eqn/lex.c: Add definition of `==' to def_table.
  3329.  
  3330. Fri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)
  3331.  
  3332.     * pic/tex.c (tex_output::start_picture): Change the definitions of
  3333.     \graph and \graphtemp so that they work properly with Plain TeX.
  3334.  
  3335.     * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
  3336.     argument to `ar' is not less than the first.
  3337.  
  3338.     * pic/pic.y: Allow a comma between elements of the variable list
  3339.     in the argument to `reset'.
  3340.  
  3341.     * pic/object.c (arc_object::arc_object): Fix computation of
  3342.     radius.
  3343.  
  3344.     * eqn/main.c (main): Add exit(0).
  3345.  
  3346. Thu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)
  3347.  
  3348.     * troff/div.c (begin_page): Test no_space_mode after doing the
  3349.     break, but still push the page ejector cookie before doing the
  3350.     break.  Also set the next page number after doing the break.
  3351.     
  3352.     * xditview/xditview.c (NewFile): Don't set the title and icon name
  3353.     if this is the first file and its name is `-'.
  3354.     * groff/groff.c: Define a new device flag XT_OPTION.  Set it for
  3355.     the X75 and X100 devices.
  3356.     (main): If a device has the XT_OPTION flag set and there's exactly
  3357.     one file argument, pass the driver -xrm and -title options to set
  3358.     the icon name and window title to the name of the file.
  3359.  
  3360.     * troff/env.c (environment_switch): If there was an argument but
  3361.     it wasn't a valid number or name, then pop an environment but
  3362.     don't give an error message on underflow.
  3363.  
  3364.     * troff/number.c (start_number): Correct spelling in error message.
  3365.  
  3366.     * troff/input.c (token::delimiter): Don't print an error message
  3367.     if err is false.
  3368.  
  3369.     * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
  3370.     ParseDrawFunction if dw->display_enable is true.
  3371.  
  3372. Wed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)
  3373.  
  3374.     * pic/pic.y: Parse text positioning like normal attributes, so as
  3375.     to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
  3376.     positioning attribute.
  3377.  
  3378. Mon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)
  3379.  
  3380.     * tbl/main.c (process_data): When in state START while reading a
  3381.     text block, don't change to state MIDDLE if c is a newline.
  3382.  
  3383. Sun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)
  3384.  
  3385.     * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
  3386.     so as to avoid shadowing parameter.
  3387.  
  3388. Wed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)
  3389.  
  3390.     * tbl/table.c (trim_space): Deleted.
  3391.     (table::add_entry): Don't call trim_space.
  3392.  
  3393. Mon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)
  3394.  
  3395.     * VERSION: Change version to 0.6.
  3396.  
  3397.     * troff/number.c (parse_expr): Make == work.
  3398.  
  3399. Sat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)
  3400.  
  3401.     * man/grog.man: New file.
  3402.     * man/Makefile: Add grog.n to MAN1PAGES.
  3403.     * etc/grog.sh: New file.
  3404.     * etc/Makefile: Install grog.sh as grog.
  3405.  
  3406. Fri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)
  3407.  
  3408.     * troff/input.c (token::next): Implement \E.
  3409.  
  3410. Thu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)
  3411.  
  3412.     * xditview/tmac.X: Change font translations to match tmac.ps.
  3413.  
  3414.     * troff/input.c (non_empty_name_warning): Don't give a warning if
  3415.     `\{' terminates the name.
  3416.  
  3417. Tue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)
  3418.  
  3419.     * ps/devps/symbol.diff: New file.
  3420.     * ps/devps/FontMakefile: Mention symbol.diff.
  3421.  
  3422. Sun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)
  3423.  
  3424.     * troff/node.c (font_position): Use get_long_name to read the
  3425.     external_name.
  3426.  
  3427.     * troff/env.c (environment_switch): If we get a number that's < 0
  3428.     or >= NENVIRONMENTS, treat it like a name.
  3429.     Change NENVIRONMENTS to 10.
  3430.  
  3431.     * troff/groff.h: Remove definition of FONTS_MAX.
  3432.     * troff/node.h (class font_family): Make map a pointer instead of
  3433.     an array. Add a map_size member. Make it a class. Make nm const
  3434.     and public. Make invalidate_fontno a friend.
  3435.     * troff/node.c: Define font_table_size. Make font_info a pointer
  3436.     rather than an array.
  3437.     (class troff_output_file): Allocate font_position dynamically. Add
  3438.     nfont_positions member.
  3439.     (troff_output_file::set_font): Grow font_position if necessary.
  3440.     (troff_output_file::~troff_output_file): Delete font_position.
  3441.     (troff_output_file::troff_output_file): Allocate font_position.
  3442.     (grow_font_table): New function.
  3443.     (troff_output_file::really_begin_page,
  3444.     troff_output_file:really_copy_page): Use nfont_positions rather
  3445.     than FONTS_MAX.
  3446.     (mount_font_no_translate, mount_style): Call grow_font_table if
  3447.     necessary.
  3448.     (font_family::font_family): Allocate map.
  3449.     (font_family::make_definite): Grow map if necessary. Use
  3450.     font_table_size instead of FONTS_MAX.
  3451.     (font_family::~font_family): New function.
  3452.     (invalidate_fontno): Use font_family::map_size.
  3453.     (get_fontno, env_space_width, env_half_narrow_space_width,
  3454.     env_narrow_space_width, symbol_fotno, is_good_fontno,
  3455.     get_bold_fontno, make_glyph_node): Use font_table_size rather than
  3456.     FONTS_MAX.
  3457.     (next_available_font_position): Never return 0.
  3458.  
  3459. Fri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)
  3460.  
  3461.     * ps/tmac.ps: Add font translations for compatibility with dpost.
  3462.  
  3463. Thu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)
  3464.  
  3465.     * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
  3466.     Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
  3467.     Move definitions baseline_sep, shift_down, column_sep,
  3468.     matrix_side_sep into...
  3469.     * eqn/box.c: Add them to param_table.
  3470.     * eqn/pbox.h: Add declarations to pbox.h.
  3471.  
  3472.     * troff/input.c (set_string): Cast value to unsigned char *.
  3473.  
  3474.     * troff/token.h (process_input_stack): Declare it static before
  3475.     declaring it a friend.
  3476.  
  3477. Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
  3478.  
  3479.     * dvi/devdvi/texex.map: Fix positions of extensible brace middle
  3480.     and bottom.
  3481.     * dvi/devdvi/EX: Regenerate.
  3482.  
  3483.     * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
  3484.     transparent.
  3485.  
  3486. Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
  3487.  
  3488.     * eqn/lex.c: In defaults_table, make definition of `dot' call
  3489.     `dot_def'.  Don't explicitly make it roman.  Similarily for other
  3490.     accents.
  3491.  
  3492.     * pic/lex.c (for_input::for_input): Add by_is_multiplicative
  3493.     argument.
  3494.     (for_input::get, for_input::peek): Use this.
  3495.     (do_for): Add by_is_multiplicative argument.
  3496.     * pic/pic.y: Change optional_by clause to allow '*' after `by'.
  3497.     Change semantic value of optional_by to be a double plus a flag
  3498.     saying whethet the by clause is multiplicative.
  3499.  
  3500.     * eqn/lex.c (get_delimited_text): Remember location of start of
  3501.     definition.  Improve error handling when EOF is encountered.
  3502.  
  3503.     * lib/font.h: Rename handle_x_command to
  3504.     handle_unknown_font_command.
  3505.     * lib/font.c (font::load): Call handle_unknown_font_command for
  3506.     any unknown command in the font description file.  Don't call
  3507.     handle_x_command. Include the name of the command in the argv.
  3508.     Improve message for unknown command after kernpairs or charset
  3509.     command.
  3510.     * ps/ps.c (ps_font::handle_x_command): Rename to
  3511.     handle_unknown_font_command.  Remove message about `x download'
  3512.     command.  Give error message for wrong number of arguments.
  3513.     * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
  3514.     * dvi/dvi.c (dvi_font::handle_x_command): Rename to
  3515.     handle_unknown_font_command. Give an error message for wrong
  3516.     number of arguments.  Rename design_size to designsize.
  3517.     * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
  3518.     checksum', `designsize' instead of `design_size'.
  3519.  
  3520. Mon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)
  3521.  
  3522.     * eqn/*.[chy]: Change underaccent to uaccent.
  3523.  
  3524.     * eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
  3525.     give it the same precedence as ACCENT.
  3526.     * eqn/other.c (make_underaccent_box): New function.
  3527.     * eqn/box.h: Declare it.
  3528.     * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
  3529.     def_table.
  3530.  
  3531. Sun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)
  3532.  
  3533.     * pic/pic.y (reset_all): New function. Called in rule for RESET.
  3534.     (parse_init): Call reset_all.
  3535.     (define_variable): When defining scale reset only those
  3536.     pre-defined variables that are scaled.
  3537.     (defaults_table): Add `scale' as non-scaled value.
  3538.  
  3539.     * pic/pic.y: Redo parsing of text adjustments: parse adjustments
  3540.     together with the text; allow any number of positioning words;
  3541.     allow center as a positioning word.
  3542.  
  3543.     * pic/object.c (output::compute_scale): Get picture maximum height
  3544.     and width from variables called maxpswid and maxpsht.
  3545.     * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
  3546.  
  3547. Sat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)
  3548.  
  3549.     * pic/object.c (object_spec::make_text): Multiply textht by number
  3550.     of text items.
  3551.  
  3552.     * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
  3553.     occur.
  3554.     (do_sprintf): New function.
  3555.     (pic.gperf): Add sprintf token.
  3556.     (text, sprintf): New rules.
  3557.  
  3558.     * pic/pic.y: `rand()' with no arguments returns a random number
  3559.     in the range [0,1).
  3560.  
  3561.     * pic/pic.y: Allow a bare expression to be an attribute: change
  3562.     precedences to support this.  Change optional_ordinal rule to
  3563.     optional_ordinal_last to avoid reduce/reduce conflict.
  3564.     * pic/object.c (object_spec::object_spec): Initialize direction.
  3565.  
  3566.     * pic/pic.y: Implement ^ operator meaning exponentiation.
  3567.  
  3568.     * troff/node.h: Add default argument to mount_font.
  3569.     * troff/node.c (font_position): Read an optional third argument
  3570.     giving the external_name.
  3571.     (mount_font): Add optional argument giving the external_name.
  3572.     (mount_font_not_translate): Have additional argument giving
  3573.     external name.  Use this name to load the font.  Pass both names
  3574.     to font_info::font_info.
  3575.     (font_info::font_info): Have additional argument giving
  3576.     external_name.
  3577.     (class tfont): New member external_name.
  3578.     (font_info::get_tfont): Use external name to construct tfont_spec.
  3579.  
  3580. Fri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)
  3581.  
  3582.     * eqn/lex.c (init_table): Add argument giving device.  Define
  3583.     name of device to be "1".
  3584.     (do_ifdef): Counts as true if the argument has been defined with
  3585.     `define'.
  3586.     * eqn/main.c (main): Call init_table with device argument. Make
  3587.     device local to main.
  3588.     * eqn/eqn.h: Change declaration of init_table. Remove declaration
  3589.     of device.
  3590.  
  3591.     * pic/lex.c (get_delimited): Allow text to be delimited by
  3592.     matching {}s.  Don't recognize ending delimiter within a string.
  3593.  
  3594.     * troff/input.c (get_delim_name): New function.
  3595.     (token::next): Implement \C.
  3596.  
  3597.     * lib/font.c (font::load): Grok ---.  Add an alias for each
  3598.     character based on its code.
  3599.     (font::get_code_width): Deleted.
  3600.     * lib/font.h (class font): Declare font::number_to_index().
  3601.     Remove declaration of font::get_code_width.
  3602.     * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
  3603.     to indices of named characters.
  3604.     (font::number_to_index): New function.
  3605.     * troff/input.c (font::number_to_index): New function.
  3606.     (get_charinfo_by_number, charinfo::get_number,
  3607.     charinfo::set_number): New functions.
  3608.     (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
  3609.     (token::process, token::description, token::get_char,
  3610.     token::add_to_node_list, token::operator==): Handle
  3611.     TOKEN_NUMBERED_CHAR.
  3612.     * troff/charinfo.h: Declare get_charinfo_by_number,
  3613.     charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
  3614.     charinfo class.
  3615.     (charinfo::numbered): New function.
  3616.     * troff/token.h: Add TOKEN_NUMBERED_CHAR.
  3617.     * troff/env.h (class environment): Remove declaration of ...
  3618.     * troff/env.c (environment::make_numbered_char_node): Deleted.
  3619.     * troff/node.c (make_numbered_node): Deleted.
  3620.     (class numbered_glyph_node): Remove.
  3621.     (troff_output_file::put_char_width, troff_output_file::put_char):
  3622.     Handle numbered chars.
  3623.     (troff_output_file::numbered_char): Removed.
  3624.     (tfont::get_code_width): Removed.
  3625.     (make_glyph_node): Don't search special fonts for numbered
  3626.     characters.
  3627.     * troff/node.h: Remove declaration of make_numbered_node.
  3628.     * driver/input.c (do_file): Handle N command.
  3629.     * driver/printer.h: Add declaration of ...
  3630.     * driver/printer.c (printer::set_numbered_char): New function.
  3631.     * dvi/tfmtodit.c (main): Generate unnamed entries.
  3632.     * ps/devps/afmtodit: Likewise.
  3633.     * xditview/xtotroff.c (MapFont): Likewise.
  3634.     * xditview/libXdvi/parse.c (ParseInput): Grok N command.
  3635.  
  3636.     * tbl/main.c (process_format): If multiple widths are specified
  3637.     for a column but all the widths are the same, don't give an error
  3638.     message.
  3639.  
  3640.     * tbl/table.c (table::do_row): If the current row is all lines and
  3641.     the stuff doesn't contains a line, mark the top of the row after
  3642.     printing stuff before the row.  If the current row is not all
  3643.     lines and the stuff doesn't contain a line, don't unnecessarily
  3644.     mark the top of the row before printing the stuff.
  3645.     
  3646. Mon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)
  3647.  
  3648.     * troff/groff.h: Remove MAX_PATH.
  3649.     * troff/input.c (open_file): Dynamically allocate space for the
  3650.     path.
  3651.     (open_mac_file, process_macro_file): Corresponding changes.
  3652.  
  3653. Sun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)
  3654.  
  3655.     * troff/node.h (class output_file): Make copy_file pure.  Add
  3656.     vspace method ifdef COLUMN. Add is_printing method.
  3657.     * troff/node.c: Add class printing_reg. Add class
  3658.     real_output_file. Derive other output_file classes from
  3659.     real_output_file; in these classes rename begin_page to
  3660.     really_begin_page, print_line to really_print_line, copy_file to
  3661.     really_copy_file, transparent_char to really_transparent_char.
  3662.     Move output_file::flush to real_output_file. Add printing member
  3663.     to class output_file.
  3664.     * troff/div.h: Remove printing member from top_level_diversion.
  3665.     Add vspace member function to class diversion ifdef COLUMN. Add
  3666.     some declarations ifdef COLUMN.
  3667.     * troff/div.c (top_level_diversion::copy_file,
  3668.     top_level_diversion::transparent_output,
  3669.     top_level_diversion::output): Don't test printing member before
  3670.     output.
  3671.     * troff/input.c: Handle initial variable_space_request ifdef
  3672.     COLUMN.
  3673.     * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
  3674.     but comment it out.
  3675.  
  3676. Sat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)
  3677.  
  3678.     * troff/div.c (diversion::need): Make any space forced.  If we
  3679.     sprung a trap, set truncated_space to minus the distance to the
  3680.     trap and set needed_space to the amount that was needed.
  3681.     (top_level_diversion::space): A forced space turns no_space_mode
  3682.     off.
  3683.     (class constant_vunits_reg): New class.
  3684.     (init_div_requests): Implement number registers .trunc and .ne
  3685.     using constant_vunits_reg.
  3686.     (class truncated_space_reg): Deleted.    
  3687.  
  3688.     * troff/div.h: Don't have a no_space_mode member in diversion.
  3689.     Instead have it in top_level_diversion.
  3690.     * troff/div.c (diversion::diversion): Don't initialize
  3691.     no_space_mode.
  3692.     (top_level_diversion::top_level_diversion): Initialize
  3693.     no_space_mode.
  3694.     (no_space, restore_spacing): Do nothing if curdiv != topdiv.
  3695.     (macro_diversion::output): Don't clear no_space_mode.
  3696.  
  3697.     * troff/input.c (diverted_space_node::reread): Don't call
  3698.     environment::do_break.  In fill mode, act like a blank line.
  3699.     (diverted_copy_file_node::reread): Don't call
  3700.     environment::do_break.
  3701.  
  3702.     * troff/div.c (blank_line): New function.
  3703.     * troff/div.h: Declare it.
  3704.     * troff/input.c (process_input_stack): Call it.
  3705.  
  3706.     * troff/div.c (truncated_space_reg::get_string): New function.
  3707.     (init_div_requests): Bind to .trunc.
  3708.     (space_request, top_level_diversion::space,
  3709.     top_level_diversion::output, macro_diversion::space,
  3710.     macro_diversion::output): Update truncated_space.
  3711.     (macro_diversion::output): Redo calculations when trap sprung.
  3712.     (macro_diversion::output, macro_diversion::space): No need for
  3713.     trap_flag.
  3714.  
  3715.     * troff/div.c (top_level_diversion::output): Set nl_reg_contents
  3716.     after truncating post line spacing.
  3717.  
  3718. Fri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)
  3719.  
  3720.     * ps/devps/prologue (MF, SF): Make them work even if setfont is
  3721.     defined as a procedure rather than as an operator.
  3722.  
  3723. Thu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)
  3724.  
  3725.     * troff/div.c (macro_diversion::space): Ignore no_space_mode.
  3726.  
  3727. Wed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)
  3728.  
  3729.     * troff/div.c (top_level_diversion::output): Merge
  3730.     output_file::print_line and output_file::end_of_line member
  3731.     functions.
  3732.     * troff/div.h (class output_file):
  3733.     * troff/node.c (troff_output_file::print_line,
  3734.     troff_output_file::end_of_line, output_file::end_of_line,
  3735.     ascii_output_file::print_line, suppress_output_file::print_line):
  3736.     Corresponding changes.    
  3737.  
  3738. Tue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)
  3739.  
  3740.     * troff/input.c (token::next): Don't give a warning for `\.'.
  3741.  
  3742.     * troff/env.c (environment::get_center_lines): New function.
  3743.     (init_env_requests): Bind number register .ce to it.
  3744.     * troff/env.h: Declare it.
  3745.     * tbl/table.c (table::init_output): Define reset macro to restore
  3746.     .ce.  If center option not given, store .ce in SAVED_CENTER_REG.
  3747.     Then do .ce 0.
  3748.     (table::print): If center option not given, then imply center
  3749.     option if SAVED_CENTER_REG > 0.
  3750.  
  3751. Mon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)
  3752.  
  3753.     * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
  3754.     Troff.ps from DOWNLOAD.
  3755.     
  3756.     * troff/Makefile: Change comment in DEFINES to avoid confusing
  3757.     System V make.
  3758.  
  3759.     * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
  3760.     code.  Don't try to catch errors with stopped.
  3761.     (check_line_lengths): New function.
  3762.     * ps/devps/prologue (EXEC): Deleted.
  3763.     (EBEGIN, EEND): New procedures.
  3764.  
  3765. Sun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)
  3766.  
  3767.     * troff/input.c: Include request.h before node.h.
  3768.     * troff/node.c: Likewise.
  3769.     * troff/env.c: Likewise.
  3770.     * troff/div.c: Likewise.
  3771.     * troff/node.h (class special_node): Store argument as a macro
  3772.     rather than a char *.
  3773.     * troff/node.c (special_node::special_node, special_node::copy):
  3774.     Grok this.
  3775.     (special_node::~special_node): Deleted.
  3776.     (special_node::tprint): Deleted.
  3777.     (special_node::tprint_start, special_node::tprint_end,
  3778.     special_node::tprint_char): New functions.
  3779.     (troff_output_file::special): Deleted.
  3780.     (troff_output_file::start_special, troff_output_file::end_special,
  3781.     troff_output_file::special_char): New functions.
  3782.     * troff/input.c (special_node::tprint): New function.
  3783.     (do_special): Use macro not char *.
  3784.     (do_transparent_macro): Deleted.
  3785.     (token::next): Don't call do_transparent_macro.
  3786.  
  3787.     * troff/input.c (token::next): Add 'Y' case.
  3788.     (do_transparent_macro): New function.
  3789.     * troff/node.c (troff_output_file::special): Handle newlines with
  3790.     argument using new continuation convention.
  3791.     * driver/input.c (get_string): Cope with continuation convention.
  3792.     (do_file): Don't call skip_line after calling get_string(1).
  3793.     * ps/ps.c (ps_printer::special, ps_printer::do_import,
  3794.     ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
  3795.     arg.
  3796.     * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
  3797.     with +.
  3798.  
  3799. Sat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)
  3800.  
  3801.     * troff/input.c (asciify): By default, illegal input characters
  3802.     should return empty string.
  3803.  
  3804.     * troff/input.c (copy_file): Handle first page transition like title.
  3805.     (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
  3806.  
  3807.     * troff/input.c (token::next): Improve error message for EOF after
  3808.     escape character.
  3809.     (input_char_description): New function.
  3810.     (get_char_for_escape_name): Use input_char_description.
  3811.     (token::next): Warn about unrecognized escape sequences.
  3812.     (warning_table): Add WARN_ESCAPE.
  3813.     * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
  3814.     accordingly.
  3815.  
  3816.     * troff/token.h: Remove declaration of process_input_stack.
  3817.  
  3818.     * troff/input.c: Remove declaration of init_hyphen_requests.
  3819.     * troff/request.h: Correct spelling in declaration of same.
  3820.  
  3821.     * troff/input.c (token::next): Check whether escape_char is 0.
  3822.  
  3823. Fri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)
  3824.  
  3825.     * groff.c (main, usage, help): Implement -P and -L options.
  3826.     * groff.sh: Likewise.
  3827.  
  3828.     * troff/input.c (token::next): Use some gotos to avoid code
  3829.     duplication.
  3830.  
  3831.     * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
  3832.     Avoid calling symbol::symbol if name empty.
  3833.  
  3834. Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
  3835.  
  3836.     * troff/input.c (init_input_requests): Make \n(.x return the major
  3837.     version number and \n(.y return the minor version number.
  3838.     * troff/Makefile: Construct file majorminor.c defining
  3839.     major_version and minor_version automatically from ../VERSION.
  3840.  
  3841.     * troff/node.c (class glyph_node): Make operator new and operator
  3842.     delete public.
  3843.     (class ligature_node): Similarily.
  3844.  
  3845.     * troff/input.c (operator==(const macro &, const macro &)): New
  3846.     function.
  3847.     (non_interpreted_node::same): Use this.
  3848.     (string_iterator::string_iterator): Make macro& argument const.
  3849.  
  3850.     * troff/input.c (input_iterator::get): New function. Don't make
  3851.     asciify_macro or class non_interpreted_node friends of class
  3852.     input_iterator.
  3853.     (non_interpreted_node::interpret): Use input_iterator::get.
  3854.     (asciify_macro): Likewise.
  3855.  
  3856.     * troff/input.c (~token_node, ~string_iterator, ~arg_list,
  3857.     ~non_interpreted_node): Deleted.
  3858.     * troff/node.c: (~suppress_output_file, ~ascii_output_file):
  3859.     Deleted.
  3860.  
  3861.     * troff/symbol.h: Make all symbol member functions const.
  3862.  
  3863.     * lib/strtol.c: New file.
  3864.     * lib/Makefile: Add strtol.c.
  3865.     * Makefile: Define STRTOL as strtol.o to include strtol in
  3866.     libgroff.a.
  3867.  
  3868. Wed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)
  3869.  
  3870.     * pic/troff.c (troff_output::simple_circle): Divide by scale.
  3871.  
  3872. Tue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)
  3873.  
  3874.     * troff/input.c (do_special): Use input_level.
  3875.  
  3876.     * troff/token.h (TOKEN_BACKSPACE): New token.
  3877.     (token::backspace): New function.
  3878.     * troff/input.c (token::description, token::next, token::process):
  3879.     Grok TOKEN_BACKSPACE.
  3880.     (do_special): Turn TOKEN_BACKSPACE back into \b.
  3881.  
  3882.     * troff/token.h (token::leader): New function.
  3883.     * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
  3884.  
  3885.     * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
  3886.  
  3887.     * troff/input.c (do_special): Use token::description in error
  3888.     message.
  3889.  
  3890. Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
  3891.  
  3892.     * troff/input.c (decode_args): Combine quoted and
  3893.     quote_input_level variables. Make it a for (;;) loop.
  3894.  
  3895.     * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
  3896.  
  3897.     * troff/input.c (read_long_escape_name): The test for whether to
  3898.     expand buffer was off by 1.
  3899.     (read_string): Similarily.
  3900.  
  3901. Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
  3902.  
  3903.     * troff/input.c: Use `const int' rather than `static const int'.
  3904.  
  3905.     * troff/div.h (diversion::copy_file): Declare as pure virtual.
  3906.     (macro_diversion::copy_file): New function.
  3907.     * troff/node.h: New class diverted_copy_file_node.
  3908.     * troff/node.c: Implement it.
  3909.     * troff/input.c (copy_file): Use diversion::copy_file. Handle
  3910.     first page transition by pushing a diverted_copy_file_node.
  3911.     * troff/input.c (token::next, process_input_stack): Don't handle
  3912.     COPY_FILE_REQUEST.
  3913.  
  3914. Thu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)
  3915.  
  3916.     * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
  3917.     whether space widths need adjusting.
  3918.  
  3919.     * troff/charinfo.h: Generalize translated_to_space to
  3920.     special_translation so as to allow translation to \&.
  3921.     * troff/input.c (translate): Allow translation to \&.
  3922.     (charinfo::*): Corresponding changes.
  3923.     * troff/node.c (make_node, node::add_char): Corresponding changes.
  3924.     * troff/node.h (dummy_node::dummy_node): Allow optional first
  3925.     argument.
  3926.  
  3927.     * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
  3928.     * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
  3929.     TOKEN_REQUEST.
  3930.     * troff/input.c (token::next): Turn a TITLE_REQUEST into a
  3931.     TOKEN_REQUEST with an argument of TITLE_REQUEST.
  3932.     (token::process): Grok that.
  3933.     * troff/input.c (copy_file): Handle first page transition like
  3934.     title by pushing a COPY_FILE_REQUEST cookie.
  3935.     (token::next, process_input_stack): Grok that.
  3936.     * troff/node.h (output_file::copy_file): Add x and y arguments.
  3937.     Make it non-pure.
  3938.     * troff/div.c (top_level_diversion::copy_file): Supply them.
  3939.     * troff/node.c (troff_output_file::copy_file): Add x and y
  3940.     arguments; moveto specified position.  Invalidate font_position
  3941.     array after copying file.
  3942.     (output_file::copy_file): New function.
  3943.     (suppressed_output_file::copy_file, ascii_output::copy_file):
  3944.     Removed.
  3945.     * troff/input.c (transparent_file): New function.
  3946.     (init_input_requests): Bind to "trf".
  3947.     (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
  3948.     (process_input_stack): Likewise.
  3949.  
  3950.     * troff/Makefile: Add ../lib/lib.h to GROFF_H.
  3951.  
  3952.     * troff/node.c (init_node_requests): New number registers .kern
  3953.     pointing to global_kern_mode, and .lg pointing to
  3954.     global_ligature_mode.
  3955.  
  3956.     * troff/node.c (ligature): Don't change it if we get a bad
  3957.     integer.
  3958.  
  3959.     * troff/input.c (do_define_string): Don't strip tabs.
  3960.  
  3961.     * troff/input.c (asciify_macro): Make the string_iterator auto.
  3962.  
  3963.     * troff/node.c (init_font_requests): Rename to...
  3964.     (init_node_requests):
  3965.     * troff/node.h: Change declaration.
  3966.     * troff/input.c (main): Change call.
  3967.  
  3968.     * troff/input.c (node::reread, diverted_space_node::reread): New
  3969.     methods.
  3970.     (process_input_stack): Call reread rather than
  3971.     get_diverted_space_node.
  3972.     * troff/node.c (node::get_diverted_space_node,
  3973.     diverted_space_node::get_diverted_space_node): Removed.
  3974.     * troff/node.h: Declare reread methods instead of
  3975.     get_diverted_space_node methods. Make `n' member private.
  3976.     * troff/input.c: (token::diverted_space): Removed.
  3977.     * troff/token.h: Removed declaration.
  3978.     
  3979.  
  3980. Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
  3981.  
  3982.     * eqn/script.c (script_box::compute_metrics): Don't let
  3983.     SUP_RAISE_FORMAT become negative.
  3984.  
  3985.     * tbl/table.c (table::do_row): Entries that don't end in the
  3986.     this row shouldn't make the row non-blank.
  3987.     
  3988.     * tbl/table.c (table::make_columns_equal): Only set the width of
  3989.     columns which are marked as equal.
  3990.     
  3991.     * tbl/main.c (process_data): Before issuing excess data error,
  3992.     if last character was a newline unget it; then get it again after
  3993.     the error.  Also include the contents of the entry in the message.
  3994.  
  3995.     * groff.c: New file.
  3996.     * Makefile: Build groff from groff.c.  Make it possible to use
  3997.     either groff.sh or groff.c as groff.
  3998.     * Makefile.bd: Similarily.
  3999.  
  4000. Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
  4001.  
  4002.     * groff.sh: Don't delay expansion of $@ in assignment to files.
  4003.     Remove occurrences of \".
  4004.  
  4005. Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
  4006.  
  4007.     * all Makefiles: Simplify and rearrange.
  4008.  
  4009.     * Makefile: Handle fmod like malloc.
  4010.     * lib/Makefile: Similarily.
  4011.     * lib/fmod.c: Remove #ifdef NEED_FMOD.
  4012.  
  4013.     * Makefile: Rename OPTIMISE to OPTIMIZE.
  4014.  
  4015.     * groff.sh: Remove assignment to PATH.
  4016.     * Makefile: Remove SHPATH variable.
  4017.     * Makefile.bd: Similarily.
  4018.  
  4019.     * groff.sh: Add -V option to print the pipeline instead of
  4020.     executing it.
  4021.  
  4022. Fri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)
  4023.  
  4024.     * lib/font.c: Split off file searching into ...
  4025.     * lib/fontfile.c: New file.
  4026.  
  4027.     * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
  4028.  
  4029. Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
  4030.  
  4031.     * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
  4032.     Also change misleading comment.
  4033.     (table::do_vspan): Change similarily misleading comment.
  4034.     * tbl/main.c (process_data): A format row with an explicit `s'
  4035.     uses up a data line, even if all the other columns are `_' or `='.
  4036.  
  4037.     * troff/input.c (token::description): Fix description of
  4038.     TOKEN_DUMMY and TOKEN_EMPTY.
  4039.  
  4040. Wed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)
  4041.  
  4042.     * groff.sh: Fix description of -Z in help message.
  4043.  
  4044. Tue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)
  4045.  
  4046.     * pic/object.c (object_spec::make_object): Allow negative and zero
  4047.     line thicknesses.
  4048.     * pic/pic.y: Give linethick default value of -1.0.
  4049.     * pic/troff.c (troff_output::troff_output): Initialize
  4050.     last_line_thickness to BAD_THICKNESS.
  4051.     (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
  4052.     (troff_output::line_thickness): Canonicalize negative thicknesses
  4053.     to RELATIVE_THICKNESS.
  4054.     * pic/tex.c (tex_output::set_pen_size): Silently map negative line
  4055.     thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
  4056.     to -1.0.
  4057.     (tex_output::start_picture): Set pen_size to -2.0.
  4058.  
  4059.     * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
  4060.     0, then use 0 linewidth.
  4061.     (ps_printer::ps_printer): Initialize line_thickness to -1.
  4062.  
  4063.     * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
  4064.  
  4065.     * ps/devps/symbolchars: Remove `or'.
  4066.     * ps/tmac.ps: Implement \(or with .char.
  4067.  
  4068.     * ps/devps/symbolchars: Move most characters into textmap.
  4069.     * ps/devps/textmap: Add names for troff bracket characters. Remove
  4070.     ul, ru, br, bv.
  4071.  
  4072.     * ps/devps/TSymbol.ps: Removed.
  4073.     * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
  4074.     * ps/tmac.ps: Do with .char what TSymbol did.
  4075.     * ps/devps/download: Remove TSymbol.
  4076.  
  4077.     * ps/devps/T: Removed.
  4078.     * ps/devps/Troff.ps: Removed.
  4079.     * ps/devps/Troff.afm: Removed.
  4080.     * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
  4081.     * ps/devps/download: Remove Troff.
  4082.     * ps/devps/FontMakefile: Remove T target.
  4083.     * ps/devps/DESC-A4: Remove T from font list.
  4084.     * ps/devps/DESC-letter: Likewise.
  4085.  
  4086.     * troff/input.c (macro_to_node): Rename to ...
  4087.     (charinfo_to_node): Don't pass mac argument.  Temporarily remove the
  4088.     character's definition while processing it.
  4089.     * troff/node.c (node::add_char, make_node): Change calls to
  4090.     macro_to_node accordingly.
  4091.  
  4092.     * troff/input.c (token::next): Translate \_ to \(ul.
  4093.  
  4094.     * tty/devascii/R.proto: Add `|'.
  4095.     * tty/devlatin1/R.proto: Likewise.
  4096.  
  4097. Mon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)
  4098.  
  4099.     * man: Put the version number in all the man pages.
  4100.  
  4101. Sun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)
  4102.  
  4103.     * Makefile.bd: New file.
  4104.     * README.bd: New file.
  4105.  
  4106.     * VERSION: New file.
  4107.     * lib/version.c: Removed.
  4108.     * lib/Makefile: Create version.c from ../VERSION. Remove version.c
  4109.     in clean target.
  4110.  
  4111.     * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
  4112.     environment variable.
  4113.  
  4114.     * all Makefiles: Split install target into install.bin for
  4115.     binaries, and install.nobin for everything else.
  4116.     * Makefile: Add bindist target.
  4117.  
  4118.     * man/afmtodit.man: New file.
  4119.     * man/Makefile: Add afmtodit.n to MAN1PAGES.
  4120.     * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
  4121.     in BINDIR.
  4122.     * ps/Makefile: Pass BINDIR to make install in devps.
  4123.  
  4124.     * ps/ps.c (ps_printer::set_char): Do nothing if the character is
  4125.     the space character.
  4126.  
  4127.     * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
  4128.  
  4129. Sat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)
  4130.  
  4131.     * ps/ps.c: Redo font downloading.
  4132.     * ps/devps/download: New file.
  4133.     * ps/devps/Makefile: Add download to DEVICEFILES.
  4134.     * ps/devps/afmtodit: Remove -d option.
  4135.     * ps/devps/FontMakefile: Don't use -d option with afmtodit.
  4136.     * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
  4137.     * ps/devps/zapfdr.ps: Likewise.
  4138.     * ps/devps/TSymbol.ps: Likewise.
  4139.  
  4140. Fri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)
  4141.  
  4142.     * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
  4143.  
  4144. Thu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)
  4145.  
  4146.     * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
  4147.     then strip the first line if it starts with %.
  4148.     * Makefile: Add a comment about this.
  4149.  
  4150.     * man/tfmtodit.man: New file.
  4151.     * man/Makefile: Add tfmtodit.n to MAN1PAGES.
  4152.     * dvi/Makefile: Install tfmtodit in BINDIR.
  4153.  
  4154.     * dvi/tfmtodit.c (usage): Mention -v option.
  4155.  
  4156. Wed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)
  4157.  
  4158.     * troff/node.c (troff_output_file::end_of_line): Call do_motion.
  4159.     * troff/node.c (troff_output_file::transparent_char): Don't call
  4160.     flush_tbuf.
  4161.  
  4162.     * eqn: Add check_tabs method to most box classes.
  4163.     * eqn/box.c (box::top_level): Call check_tabs.
  4164.  
  4165.     * eqn/script.c (script_box::output): Use \Z.
  4166.     * eqn/limit.c (limit_box::output): Use \Z.
  4167.  
  4168.     * eqn/box.c (box::top_level): Use itoa.
  4169.  
  4170. Tue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)
  4171.  
  4172.     * dvi/tmac.dvi: Add font translations for CR, C, TT.
  4173.     * dvi/devdvi/Makefile: Don't make links to CW.
  4174.  
  4175.     * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
  4176.     HX, HD.
  4177.     * xditview/tmac.X: Likewise.
  4178.  
  4179.     * troff/node.c: Add font translation feature.
  4180.     (get_font_translation): New function.
  4181.     (symbol_fontno): Translate the font name.
  4182.     (mount_font_no_translate): Rename to mount_font to this.
  4183.     (mount_font): New function.
  4184.     (font_family::make_definite): Call mount_font_no_translate instead
  4185.     of mount_font.
  4186.     (mount_style): Translate the font name.
  4187.     (font_translate): New function.
  4188.     (init_font_requests): Bind "ftr" to font_translate.
  4189.  
  4190.     * ps/devps/prologue (SN): New procedure that rounds a position to
  4191.     the nearest (pixel + (.25,.25)).
  4192.     (DL): Use SN to round endpoints.
  4193.  
  4194.     * lib/version.c: Changed version to 0.5.
  4195.  
  4196. Sat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)
  4197.  
  4198.     * Makefile: Move definition of PAGE to the very beginning, so that
  4199.     people are less likely to miss it.
  4200.  
  4201. Fri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)
  4202.  
  4203.     * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
  4204.  
  4205.     * troff/env.c (environment::choose_breakpoint): Make `can't find
  4206.     breakpoint' error a warning of type WARN_BREAK.  Change message to
  4207.     `can't break line'.
  4208.     * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
  4209.     code 040000.
  4210.     * troff/input.c: Add WARN_BREAK to warning_table.  Include
  4211.     WARN_BREAK in DEFAULT_WARNING_MASK.
  4212.  
  4213.     * tty/tmac.tty: Add definition of \(+-.
  4214.  
  4215.     * groff.sh: Remove `--' option to set command.
  4216.  
  4217.     * dvi/devdvi/texsy.map: Remove duplicate md entry.
  4218.  
  4219.     * ps/devps/eqnchar: Better definition of cdot using md.
  4220.     * dvi/devdvi/eqnchar:  Likewise.
  4221.     * xditview/devX100/eqnchar:  Likewise.
  4222.     * xditview/devX75/eqnchar: Likewise.
  4223.     * eqn/lex.c: Add definition of cdot.
  4224.  
  4225. Thu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)
  4226.  
  4227.     * troff/input.c (get_optional_char): New function.
  4228.     * troff/input.c (set_page_character): Use get_optional_char(),
  4229.     rather than has_arg() and tok.get_char(1).
  4230.     * troff/env.c (tab_character, leader_character, hyphen_char,
  4231.     field_characters): Likewise.
  4232.     (margin_character): Likewise.  Also always delete the
  4233.     margin_character_node.
  4234.  
  4235.     * troff/input.c (token::get_char): Use token::description.
  4236.  
  4237.     * troff/input.c (has_arg): Don't skip over tab and \}.
  4238.     * troff/number.c (start_number): Give a warning if the number
  4239.     starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
  4240.  
  4241. Wed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)
  4242.  
  4243.     * troff/input.c (empty_name_warning, non_empty_name_warning): New
  4244.     functions.
  4245.     (get_name, get_long_name): Use these.  Rename `warn' argument to
  4246.     `required'.
  4247.  
  4248.     * troff/node.c (get_fontno): Test that the symbol is not null.
  4249.  
  4250.     * troff/input.c (token::description): New function.
  4251.     * troff/number.c (parse_term): Use token::description in `numeric
  4252.     expression expected' message.
  4253.     * troff/groff.h: Add WARN_MISSING.
  4254.     * troff/number.c (start_number): New function.
  4255.     * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
  4256.     get_incr_number): Use start_number().
  4257.     * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
  4258.     default.
  4259.     * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
  4260.     * troff/reg.c (alter_format): Use WARN_MISSING. Also use
  4261.     token::descripion.
  4262.     * troff/input.c (token::get_char): Use WARN_MISSING.
  4263.     * troff/input.c (token::delimiter): Use token::description.
  4264.     * troff/env.c (environment_switch): Back out Aug 3 change.
  4265.     * troff/input.c (has_arg): Skip over \}s and tabs but give a
  4266.     warning.
  4267.     * troff/token.h (token::tab): New function.
  4268.     * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
  4269.     * troff/reg.c (alter_format): Likewise.
  4270.     * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
  4271.  
  4272. Tue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)
  4273.  
  4274.     * troff (most files): Redo warnings. Divide warnings into various
  4275.     categories; warning() has an additional first argument indicating
  4276.     the category it falls into.
  4277.     * troff/input.c (main): -w now takes an argument. New option -W.
  4278.     (enable_warning, disable_warning): New functions.
  4279.  
  4280.     * ps/devps/afmtodit: Add -a option to lie about the italic angle.
  4281.     * ps/devps/FontMakefile: Pretend TI has an angle of 7.
  4282.  
  4283. Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
  4284.  
  4285.     * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
  4286.     * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
  4287.     * xditview/devX75/eqnchar: Likewise.
  4288.     * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
  4289.  
  4290.     * eqn/other.c: When bar or over applies to a single character
  4291.     don't produce an overline_box or an underline_box. Instead produce
  4292.     an accent_box or an underaccent_box, with the accent a line
  4293.     whose width is accent_width.  New classes underaccent_box,
  4294.     overline_char_box and underline_char_box.
  4295.     * eqn/box.h: Move overline_box, underline_box, accent_box class
  4296.     declarations into eqn/other.c. Add declarations of
  4297.     make_underline_box, make_overline_box, make_accent_box.
  4298.     * eqn/eqn.y: Call make_overline_box, make_underline_box
  4299.     make_accent_box instead    of constructors.
  4300.     * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
  4301.  
  4302.     * eqn/other.c: Add accent_box::~accent_box.
  4303.     * eqn/box.h: Declare it.
  4304.  
  4305.     * groff.sh: With -Tps, use eqn -D.
  4306.  
  4307.     * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
  4308.     rather than \l.
  4309.     (underline_box::output): Similarily.
  4310.     (accent_box::output): Use \Z.
  4311.  
  4312.     * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
  4313.     bit smaller.)
  4314.  
  4315. Sun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)
  4316.  
  4317.     * troff/div.c (top_level_diversion::transparent_output(unsigned
  4318.     char)): Use asciify.
  4319.     * troff/input.c (asciify): Don't make it static.
  4320.     * troff/token.h (asciify): Declare it.
  4321.     
  4322.     * troff/input.c (get_name, get_long_name, token::get_char,
  4323.     token::delimiter): Add an extra default argument which says
  4324.     whether a warning should be printed.
  4325.     * troff: Pass a non-zero argument to one of these rather than
  4326.     printing a warning directly.
  4327.  
  4328. Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
  4329.  
  4330.     * troff: Consistently use symbol::is_null.
  4331.  
  4332.     * troff/dictionary.h: Move some inline functions into
  4333.     dictionary.c.
  4334.  
  4335.     * troff/request.h: Move inline functions into input.c.
  4336.     (request_or_macro::invoke): Make it pure.
  4337.  
  4338.     * troff/input.c, troff/reg.h: New class `constant_int_reg'.
  4339.     * troff/input.c (init_input_requests): Use class constant_int_reg.
  4340.     (class compatible_reg): Deleted.
  4341.     * troff/div.c (init_div_requests): Use class constant_int_reg.
  4342.     (class last_post_line_extra_space_reg): Deleted.
  4343.  
  4344.     * troff/env.c (tab_character): Don't change the tab character if
  4345.     we get an invalid argument.
  4346.     (hyphen_char): Similarily.
  4347.  
  4348.     * troff/reg.c (alter_format): Check that nm is not null.
  4349.  
  4350.     * Makefile, groff.sh: Make it possible to customize the commands
  4351.     used for printing PostScript and dvi files. Also make it possible
  4352.     to customize the path used by groff.sh.
  4353.  
  4354.     * eqn/eqn.y: Make `left' right associative.
  4355.  
  4356. Fri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)
  4357.  
  4358.     * pic/pic.h: Added definition of M_SQRT2 for those systems that
  4359.     don't have it.
  4360.  
  4361.     * pic/pic.h: Removed definition of INT_MAX.
  4362.  
  4363.     * troff/node.c (italic_corrected_node::vertical_extent): Omit
  4364.     `return'.
  4365.  
  4366.     * troff/input.c (token::next):  Handle \R like \n.
  4367.  
  4368. Tue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)
  4369.  
  4370.     * ps/tmac.pc (PSPIC): Simplify.
  4371.  
  4372.     * troff/env.c (tab_stops::to_string):
  4373.     * pic/pic.y (object_type_name):
  4374.     * pic/troff.c (simple_output::line):
  4375.     * pic/tex.c (tex_output::spline):
  4376.     * pic/object.c (object_spec::make_object):
  4377.     * tbl/main.c (process_data):  Add cases to switch statements to
  4378.     avoid cfront warnings. (Some of these are spurious, since the
  4379.     switch already has a default case.)
  4380.  
  4381.     * ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
  4382.     `ps-'.  Don't test systat; instead check number of arguments to
  4383.     ps-bb.
  4384.  
  4385. Mon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)
  4386.  
  4387.     * macros/tmac.e: Do not decrease the page offset by 0.5i.
  4388.  
  4389.     * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
  4390.     Unlink the file as soon as we have opened it, so that we don't
  4391.     have to bother with signal handlers.
  4392.     (handler): Deleted.
  4393.     (fatal_error_exit): Deleted.
  4394.     (main): Don't call signal.
  4395.  
  4396.     * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
  4397.     can be ignored.
  4398.     * dvi/devdvi/Makefile: Use the -k option with S and MI.
  4399.  
  4400.     * pic/pic.y:  If there is a label, or an nth construction before
  4401.     the first `.' in the argument to `with', ignore it and generate a
  4402.     warning.
  4403.     * pic/lex.c (lex_warning): New function.
  4404.  
  4405.     * tbl/table.c (table::init_output): In section keep and release
  4406.     macro, use 0 indent when diverting and the correct indent when
  4407.     rereading.
  4408.  
  4409.     * troff/input.c (interpolate_number_format): Do not interpolate
  4410.     anything if the number register is not defined.
  4411.  
  4412.     * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
  4413.  
  4414. Sat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)
  4415.  
  4416.     * ps/devps/prologue (PICTURE): Set components of graphics state to
  4417.     their default values.
  4418.  
  4419.     * ps/devps/text.enc: Add trademark
  4420.     * ps/devps/textmap: Add names for club, spade, heart, diamond,
  4421.     carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
  4422.     * ps/devps/symbolchars: Add names for summation and product.
  4423.  
  4424.     * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
  4425.     suchthat. Add pp. Add upper-case letters.
  4426.  
  4427.     * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
  4428.     diamond, carriagereturn, suchthat. Use Upsilon1 rather than
  4429.     Upsilon.
  4430.  
  4431.     * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
  4432.     rA (right angle bracket) to ra.  Introduce names for double-headed
  4433.     arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
  4434.     * ps/devps/textmap: Likewise for ps device.
  4435.     * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
  4436.     * tty/devascii/R.proto: Rename lA to la and rA to ra.
  4437.     * tty/devascii/R.proto: Likewise.
  4438.     * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
  4439.     \(uA, \(dA.
  4440.     * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
  4441.  
  4442.     * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
  4443.  
  4444.     * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
  4445.     def_table.
  4446.  
  4447. Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
  4448.  
  4449.     * troff/div.c (when_request): Use symbol::is_null rather than
  4450.     has_arg to determine whether we have an argument.
  4451.     (change_trap): Remove the trap if we get an invalid number. Give
  4452.     an error if we don't get at least the macro name.
  4453.     (diversion_trap): Remove trap if we get an invalid name or number.
  4454.  
  4455.     * troff/env.c (environment_switch): Pop if we get an invalid
  4456.     symbol or numeric expression.
  4457.  
  4458.     * troff/input.c (do_define_macro):  If EOF is encoutered while
  4459.     defining the macro, do tok.next() before returning.
  4460.  
  4461.     * troff/token.h (has_arg): Move definition from here, to ...
  4462.     * troff/input.c (has_arg): ... here
  4463.  
  4464.     * troff/env.c (space_size): Do nothing if we get an invalid argument.
  4465.     * troff/input.c (shift): Likewise.
  4466.  
  4467.     * pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
  4468.     for `.c'.
  4469.  
  4470.     * pic/troff.c (troff_output::start_picture):  Comment out calls to
  4471.     `..'.
  4472.  
  4473.     * eqn/main.c (do_file): Subtract 1 from current_lineno if
  4474.     interpret_lf_args succeeds.
  4475.  
  4476.     * eqn/main.c (do_file): Don't recognize delimiter if preceded by
  4477.     \\.  This avoids problems with \$N.
  4478.  
  4479.     * groff.sh: Pass -C to preprocessors.
  4480.  
  4481.     * lib/lf.c (interpret_lf_args):  Be more flexible.
  4482.  
  4483.     * tbl/main.c (main): Add -C option.
  4484.     (table_input::get): Do not recognize TE if followed by character
  4485.     other than a space or newline unless -C option given.
  4486.     (process_input_file): Likewise for lf, TS.
  4487.     (process_data): Likewise for lf in text blocks.
  4488.  
  4489.     * eqn/main.c (main): Add -C option.
  4490.     (do_file): Don't recognize EQ, EN or lf if followed by character
  4491.     other than space or newline unless -C option given.
  4492.     * eqn/lex.c (file_input::read_line): Similarily.
  4493.     * eqn/eqn.h: Declare compatible_flag.
  4494.  
  4495.     * etc/soelim.c (main): Add -C option.
  4496.     (interpret_lf_args): Use version in libgroff.
  4497.     (do_file):
  4498.  
  4499.     * pic/main.c (main): Add -C option, which sets compatible_flag.
  4500.     (top_input::get), (top_input::peek):  If -C option not given,
  4501.     do not recognize .PS/.PE/.PF/.lf if followed by a character
  4502.     other than space or newline.
  4503.     * pic/lex.c (file_input::read_line): Similarily.
  4504.     * pic/pic.h: Add declaration of compatible_flag.
  4505.  
  4506. Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
  4507.  
  4508.     * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
  4509.  
  4510.     * troff/node.c, troff/node.h:  Add `asciify' methods to classes
  4511.     derived from node.  New class space_char_hmotion_node.
  4512.     * troff/input.c (asciify_macro): New function.
  4513.     * troff/input.c (init_input_requests): New request `asciify' bound
  4514.     to asciify_macro.
  4515.     * macros/mm.diff: New file.
  4516.     * Makefile:  In install.mm target use `patch' to apply
  4517.     macros/mm.diff.
  4518.  
  4519.     * troff/input.c (macro::print_size): Just print the size in bytes.
  4520.  
  4521.     * troff/div.c (return_request): Correct the argument
  4522.     interpretation.
  4523.  
  4524. Wed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)
  4525.  
  4526.     * troff/node.h (class composite_node): Add sz member.
  4527.     * troff/node.c (composite_node::size): Return sz.
  4528.     * troff/input.c (macro_to_node):  Use the initial size in the
  4529.     environment as the size of the composite_node.
  4530.  
  4531.     * troff/node.c (node::zero_width_tprint):  Provide a reasonable
  4532.     default.
  4533.  
  4534. Tue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)
  4535.  
  4536.     * troff/div.c (change_trap): If we get a bad number expression,
  4537.     do nothing.
  4538.  
  4539. Mon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)
  4540.  
  4541.     * lib/matherr.c (matherr): Define this only if math.h defines
  4542.     TLOSS.
  4543.  
  4544. Sun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)
  4545.  
  4546.     * troff/div.c (macro_diversion::distance_to_next_trap): If there
  4547.     no diversion trap return vunits(INT_MAX - vresolution).
  4548.  
  4549. Sat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)
  4550.  
  4551.     * troff/input.c (do_zero_width): New implementation that doesn't
  4552.     use a temporary environment. Use instead:
  4553.     (token::add_to_node_list): New function.
  4554.     * troff/env.c (environment::get_prev_char_height),
  4555.     (environment::get_prev_char_height),
  4556.     (environment::get_prev_char_skew): New functions.
  4557.     (environment::get_prev_char): New function.
  4558.     (environment::get_prev_char_width): Change to use get_prev_char.
  4559.     (init_env_request): Implement new registers .cht, .cdp, .csk.
  4560.     * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
  4561.     \Z being processed in a separate environment.
  4562.  
  4563. Fri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)
  4564.  
  4565.     * tbl/table.c: Removed TABLE_BOTTOM_REG.
  4566.  
  4567.     * tbl/table.c (table::init_output): In the section release macro,
  4568.     give a warning message if the section won't fit on one page.
  4569.  
  4570.     * tbl/table.c (table::do_top): Emit table keep only if table is
  4571.     boxed.
  4572.     (table::do_bottom): Likewise for table release.
  4573.     (table::table), (table::add_vertical_rule):  Remove reference to
  4574.     keep member.
  4575.     * tbl/table.h: Remove keep member.
  4576.  
  4577.     * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
  4578.     SECTION_RELEASE_MACRO, if there's not enough space before the next
  4579.     trap to output the diversion, call T# ourselves, set
  4580.     SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
  4581.     SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
  4582.     SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
  4583.     vertical position and return to it before turning traps on again.
  4584.     
  4585. Thu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)
  4586.  
  4587.     * troff/node.c, troff/node.h: In classes derived from node,
  4588.     replace prev_char_width method by last_char_node method.
  4589.     * troff/env.c (environment::get_prev_char_width): Use
  4590.     node::last_char_node rather than node::get_prev_char_width.
  4591.  
  4592.     * Makefile: Added comment about -fno-inline on 68030-based
  4593.     Apollos.
  4594.  
  4595.     * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
  4596.     tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
  4597.     expressions using sizeof to int.
  4598.     * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
  4599.  
  4600.     * macros/tmac.e (TS):  Don't move @f back past the current
  4601.     position.
  4602.  
  4603. Wed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)
  4604.  
  4605.     * ps/ps.c (main): Buffer stderr.
  4606.     * dvi/dvi.c (main): Likewise.
  4607.     * tty/tty.c (main): Likewise.
  4608.  
  4609.     * ps/ps.c (ps_printer::do_import): Improve error handling.
  4610.  
  4611.     * troff/input.c (abort_request): Use asciify.
  4612.  
  4613.     * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
  4614.     ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
  4615.     type of first argument int rather than char.  This works around a
  4616.     bug on the 68030 based Apollo using g++ 1.37.1.
  4617.  
  4618.     * tbl/table.h (class table): Add `keep' member.
  4619.     * tbl/table.c (table::table): Initialize `keep'.
  4620.     (table::add_vertical_rule): Set `keep' to 1.
  4621.     (table::do_top): Only emit table keep macro is `keep' is non-zero.
  4622.     (table::do_bottom): Likewise for table release macro.
  4623.     (table::do_row): Emit section keep macro even if the row is 0.
  4624.  
  4625. Tue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)
  4626.  
  4627.     * macros/tmac.e (@C): Preserve the font family across the change
  4628.     in environments.
  4629.  
  4630. Mon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)
  4631.  
  4632.     * lib/font.c: Initialize font::hor and font::vert to 1.
  4633.     (font::load_desc): Check the values of font::hor and font::vert.
  4634.  
  4635.     * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
  4636.     be included in a C compilation.
  4637.     (iftoa): Use INT_DIGITS. Include lib.h.
  4638.     (itoa): Likewise.
  4639.     (as_string): Likewise.
  4640.     * tbl/table.c: Removed definition of INT_DIGITS.
  4641.     * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
  4642.     * troff/input.c (input_input_requests): Likewise.
  4643.     * ps/ps.c (make_encoding_name): Likewise.
  4644.     (ps_printer::set_style): Likewise.
  4645.     (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead    of 12.
  4646.  
  4647.     * tty/devascii/R.proto: Map fm onto '.
  4648.     * tty/devlatin1/R.proto: Likewise.
  4649.  
  4650. Sat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)
  4651.  
  4652.     * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
  4653.     argument to \w is at a different input level.
  4654.  
  4655.     * tbl/table.c (table::init_output): Define a new macro
  4656.     REPEATED_VPT_MACRO, like vpt but if in a diversion also
  4657.     transparently outputs itself.
  4658.     (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
  4659.     vpt.
  4660.     (table::do_row): Likewise.
  4661.  
  4662.     * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
  4663.     TRANSPARENT_STRING_NAME.
  4664.  
  4665.     * tbl/table.c (table::init_output): In the table release macro
  4666.     print an error message and don't produce any output if after
  4667.     issuing the need request the table still will not fit.  Also
  4668.     remove the diversion after bringing it back.
  4669.  
  4670.     * tbl/table.c (table::init_output): Define a new macro
  4671.     REPEATED_MARK_MACRO, like mk but if in a diversion also
  4672.     transparently outputs itself.
  4673.     (table::do_row): Mark row_top_reg using    REPEATED_MARK_MACRO. This
  4674.     is necessary because .TH might not call .T#.
  4675.     (table::do_top): Likewise TOP_REG.
  4676.     (table::define_bottom_macro): If TOP_REG is no longer valid, use
  4677.     #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
  4678.     table header might contain just the two top rules.
  4679.  
  4680. Fri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)
  4681.  
  4682.     * troff/div.c: Implement new request `ptr' to print all traps.
  4683.  
  4684.     * troff/env.c (init_env_requests): Implement `.tabs' reg with
  4685.     init_string_env_reg.
  4686.     * troff/env.c (class tab_reg): Deleted.
  4687.  
  4688. Thu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)
  4689.  
  4690.     * troff/div.c: New number register .pn returns the number of the
  4691.     next page as set by the pn request.
  4692.  
  4693.     * macros/tmac.an: Redid headers and footers.  Number each manual
  4694.     entry starting from 1 unless \nC is > 0, like Sun.  Added an
  4695.     optional 5th argument to .TH which specifies the manual name and
  4696.     appears in the center of the header.  Understand the X, P and D
  4697.     registers like Sun.
  4698.  
  4699. Wed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)
  4700.  
  4701.     * troff/env.c (init_env_requests): New number register `.lt' to
  4702.     return the title length.
  4703.  
  4704.     * troff/node.h (class transparent_dummy_node): New class.
  4705.     * troff/node.c (class transparent_dummy_node): Provide member
  4706.     functions. 
  4707.     * troff/env.c (interrupt): Add a transparent_dummy_node, rather
  4708.     than a dummy_node.
  4709.  
  4710.     * troff/input.c (token::next): New escape sequence \).
  4711.     * troff/input.c (get_copy): Recognize \) in copy mode.
  4712.  
  4713.     * troff/input.c (input_stack::clear): New function.
  4714.     * troff/input.c (exit_request): Use input_stack::clear.
  4715.  
  4716.     * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
  4717.     * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
  4718.  
  4719.     * troff/env.c: Move set_page_character to input.c.  Move
  4720.     page_character to input.c also.
  4721.     * troff/env.c (title): Split off the reading of the parts of the
  4722.     title into read_title_parts.
  4723.     * troff/input.c (read_title_parts): New function.  Check the
  4724.     input_level when testing whether a token matches the delimiter.
  4725.  
  4726.     * troff/input.c (exit_request): New function.
  4727.     * troff/input.c (init_input_requests): Bind ex request to
  4728.     exit_request rather than exit_groff.
  4729.  
  4730.     * troff/input.c (exit_groff): Call tok.next() before
  4731.     process_input_stack().
  4732.  
  4733. Mon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)
  4734.  
  4735.     * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
  4736.     * troff/env.h: ditto.
  4737.     * troff/input.c: ditto.
  4738.  
  4739.     * troff/env.c (environment::is_empty): Test pending_lines.
  4740.  
  4741.     * troff/env.c (environment::have_pending_lines): Removed.
  4742.  
  4743.     * troff/input.c: Add request to flush pending lines from the
  4744.     environment.
  4745.  
  4746.     * troff/env.c, troff/env.h: Add automatic widow control feature.
  4747.  
  4748.     * troff/input.c (exit_groff):  Do process_input_stack() after
  4749.     do_break() but before setting exit_flag to 2.
  4750.  
  4751.     * troff/input.c: Remove FLUSH_PENDING_LINES and
  4752.     TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
  4753.     environment after END_TRAP token seen, but only if there aren't
  4754.     any more traps still unfinished.
  4755.     * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
  4756.  
  4757. Sun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)
  4758.  
  4759.     * troff/env.c: Rename the `retain_size' member of class
  4760.     pending_output_line to `no_fill'.
  4761.  
  4762.     * troff/env.c (title): When the line is output, make the
  4763.     retain_size argument !fill.
  4764.  
  4765.     * troff/node.h: Add `hyphenated' member to struct breakpoint.
  4766.     * troff/node.c (space_node::get_breakpoints),
  4767.     (dbreak_node::get_breakpoints):  Fill this in.
  4768.     * troff/env.c:  Allow specification of maximum number of
  4769.     consecutive hyphenated lines.
  4770.  
  4771.     * troff/env.c (environment::is_empty): Add test for !current_tab.
  4772.  
  4773. Sat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)
  4774.  
  4775.     * troff/env.c (environment::hyphenate_line): Don't completely give
  4776.     up if the word is not to be hyphenated; continue so that breaks
  4777.     can be made at break_char_node's.
  4778.  
  4779.     * lib/lib.h: Only define INT_MAX if it's not already defined;
  4780.     undef INT_MIN if it's already defined.
  4781.  
  4782.     * Makefile: Make it easy to define CFRONT_ANSI_BUG.
  4783.  
  4784.     * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
  4785.     This works around a bug in AT&T C++ 2.0 used with an ANSI C
  4786.     compiler.
  4787.     
  4788.     * macros/tmac.an (an-header): Set no-space mode.
  4789.  
  4790.     * macros/tmac.an (TH): Start a new page if necessary.
  4791.  
  4792.     * Started using ChangeLog at version 0.4.
  4793.  
  4794. Local Variables:
  4795. version-control: never
  4796. End:
  4797.